diff --git a/Scripts/cd-docs.ps1 b/Scripts/cd-docs.ps1 index d342f49d..ba41e343 100755 --- a/Scripts/cd-docs.ps1 +++ b/Scripts/cd-docs.ps1 @@ -4,7 +4,7 @@ .DESCRIPTION Change the working directory to the user's documents folder .EXAMPLE - PS> .\cd-docs.ps1 + PS> ./cd-docs .LINK https://github.com/fleschutz/PowerShell .NOTES diff --git a/Scripts/cd-downloads.ps1 b/Scripts/cd-downloads.ps1 index 8fc4b3a6..da13ec25 100755 --- a/Scripts/cd-downloads.ps1 +++ b/Scripts/cd-downloads.ps1 @@ -4,7 +4,7 @@ .DESCRIPTION Change the working directory to the user's downloads folder .EXAMPLE - PS> .\cd-downloads.ps1 + PS> ./cd-downloads .LINK https://github.com/fleschutz/PowerShell .NOTES diff --git a/Scripts/cd-dropbox.ps1 b/Scripts/cd-dropbox.ps1 index 0ef0c22b..98ac098d 100755 --- a/Scripts/cd-dropbox.ps1 +++ b/Scripts/cd-dropbox.ps1 @@ -4,7 +4,7 @@ .DESCRIPTION Change the working directory to the user's Dropbox folder .EXAMPLE - PS> .\cd-dropbox.ps1 + PS> ./cd-dropbox .LINK https://github.com/fleschutz/PowerShell .NOTES diff --git a/Scripts/cd-home.ps1 b/Scripts/cd-home.ps1 index 4cd93831..5923807d 100755 --- a/Scripts/cd-home.ps1 +++ b/Scripts/cd-home.ps1 @@ -4,7 +4,7 @@ .DESCRIPTION Change the working directory to the user's home directory .EXAMPLE - PS> .\cd-home.ps1 + PS> ./cd-home .LINK https://github.com/fleschutz/PowerShell .NOTES diff --git a/Scripts/cd-music.ps1 b/Scripts/cd-music.ps1 index 3b77eac0..ca726971 100755 --- a/Scripts/cd-music.ps1 +++ b/Scripts/cd-music.ps1 @@ -4,7 +4,7 @@ .DESCRIPTION Change the working directory to the user's music folder .EXAMPLE - PS> .\cd-music.ps1 + PS> ./cd-music .LINK https://github.com/fleschutz/PowerShell .NOTES diff --git a/Scripts/cd-onedrive.ps1 b/Scripts/cd-onedrive.ps1 index 38a11ae3..b050fb23 100644 --- a/Scripts/cd-onedrive.ps1 +++ b/Scripts/cd-onedrive.ps1 @@ -4,7 +4,7 @@ .DESCRIPTION Change the working directory to the user's OneDrive folder .EXAMPLE - PS> .\cd-onedrive.ps1 + PS> ./cd-onedrive .LINK https://github.com/fleschutz/PowerShell .NOTES diff --git a/Scripts/cd-pics.ps1 b/Scripts/cd-pics.ps1 index f37641e1..1d4f9fff 100755 --- a/Scripts/cd-pics.ps1 +++ b/Scripts/cd-pics.ps1 @@ -4,7 +4,7 @@ .DESCRIPTION Change the working directory to the user's pictures folder .EXAMPLE - PS> .\cd-pics.ps1 + PS> ./cd-pics .LINK https://github.com/fleschutz/PowerShell .NOTES diff --git a/Scripts/cd-recycle-bin.ps1 b/Scripts/cd-recycle-bin.ps1 index 5afe7ffd..4ee43604 100644 --- a/Scripts/cd-recycle-bin.ps1 +++ b/Scripts/cd-recycle-bin.ps1 @@ -4,7 +4,7 @@ .DESCRIPTION Change the working directory to the user's recycle bin folder .EXAMPLE - PS> .\cd-recycle-bin.ps1 + PS> ./cd-recycle-bin .LINK https://github.com/fleschutz/PowerShell .NOTES diff --git a/Scripts/cd-repos.ps1 b/Scripts/cd-repos.ps1 index e8c686b3..79ff512b 100644 --- a/Scripts/cd-repos.ps1 +++ b/Scripts/cd-repos.ps1 @@ -4,7 +4,7 @@ .DESCRIPTION Change the working directory to the user's Git repositories folder .EXAMPLE - PS> .\cd-repos.ps1 + PS> ./cd-repos .LINK https://github.com/fleschutz/PowerShell .NOTES diff --git a/Scripts/cd-root.ps1 b/Scripts/cd-root.ps1 index 337d1138..da3ba73b 100755 --- a/Scripts/cd-root.ps1 +++ b/Scripts/cd-root.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS cd-root.ps1 .DESCRIPTION - Change the working directory to the root directory (C:\ on Windows). + Change the working directory to the root directory (C:\ on Windows) .EXAMPLE - PS> .\cd-root.ps1 + PS> ./cd-root .LINK https://github.com/fleschutz/PowerShell .NOTES diff --git a/Scripts/cd-scripts.ps1 b/Scripts/cd-scripts.ps1 index 4f676ffd..5ea26aab 100755 --- a/Scripts/cd-scripts.ps1 +++ b/Scripts/cd-scripts.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS cd-scripts.ps1 .DESCRIPTION - Change the working directory to the PowerShell scripts folder. + Change the working directory to the PowerShell scripts folder .EXAMPLE - PS> .\cd-scripts.ps1 + PS> ./cd-scripts .LINK https://github.com/fleschutz/PowerShell .NOTES diff --git a/Scripts/cd-ssh.ps1 b/Scripts/cd-ssh.ps1 index f985f5a2..51875766 100755 --- a/Scripts/cd-ssh.ps1 +++ b/Scripts/cd-ssh.ps1 @@ -4,7 +4,7 @@ .DESCRIPTION Change the working directory to the user's SSH folder .EXAMPLE - PS> .\cd-ssh.ps1 + PS> ./cd-ssh .LINK https://github.com/fleschutz/PowerShell .NOTES diff --git a/Scripts/cd-up.ps1 b/Scripts/cd-up.ps1 index e226059c..091ebe41 100755 --- a/Scripts/cd-up.ps1 +++ b/Scripts/cd-up.ps1 @@ -4,7 +4,7 @@ .DESCRIPTION Change the working directory to one level up .EXAMPLE - PS> .\cd-up.ps1 + PS> .\cd-up .LINK https://github.com/fleschutz/PowerShell .NOTES diff --git a/Scripts/cd-up2.ps1 b/Scripts/cd-up2.ps1 index 379a4e9e..229d8c09 100644 --- a/Scripts/cd-up2.ps1 +++ b/Scripts/cd-up2.ps1 @@ -4,7 +4,7 @@ .DESCRIPTION Change the working directory to two directory levels up .EXAMPLE - PS> .\cd-up2.ps1 + PS> ./cd-up2 .LINK https://github.com/fleschutz/PowerShell .NOTES diff --git a/Scripts/cd-up3.ps1 b/Scripts/cd-up3.ps1 index d64aa407..a49b9c0c 100644 --- a/Scripts/cd-up3.ps1 +++ b/Scripts/cd-up3.ps1 @@ -4,7 +4,7 @@ .DESCRIPTION Change the working directory to three directory levels up .EXAMPLE - PS> .\cd-up3.ps1 + PS> ./cd-up3 .LINK https://github.com/fleschutz/PowerShell .NOTES diff --git a/Scripts/cd-up4.ps1 b/Scripts/cd-up4.ps1 index c0caafc7..adf063ab 100644 --- a/Scripts/cd-up4.ps1 +++ b/Scripts/cd-up4.ps1 @@ -4,7 +4,7 @@ .DESCRIPTION Change the working directory to four directory levels up .EXAMPLE - PS> .\cd-up4.ps1 + PS> ./cd-up4 .LINK https://github.com/fleschutz/PowerShell .NOTES diff --git a/Scripts/cd-videos.ps1 b/Scripts/cd-videos.ps1 index 177178b8..67685332 100755 --- a/Scripts/cd-videos.ps1 +++ b/Scripts/cd-videos.ps1 @@ -4,7 +4,7 @@ .DESCRIPTION Change the working directory to the user's videos folder .EXAMPLE - PS> .\cd-videos.ps1 + PS> ./cd-videos .LINK https://github.com/fleschutz/PowerShell .NOTES diff --git a/Scripts/check-cpu-temp.ps1 b/Scripts/check-cpu-temp.ps1 index d8af88db..11a51ed6 100755 --- a/Scripts/check-cpu-temp.ps1 +++ b/Scripts/check-cpu-temp.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS check-cpu-temp.ps1 .DESCRIPTION - Checks the CPU temperature. + Checks the CPU temperature .EXAMPLE - PS> .\check-cpu-temp.ps1 + PS> ./check-cpu-temp .LINK https://github.com/fleschutz/PowerShell .NOTES diff --git a/Scripts/check-dns-resolution.ps1 b/Scripts/check-dns-resolution.ps1 index 0151e8da..894b0531 100755 --- a/Scripts/check-dns-resolution.ps1 +++ b/Scripts/check-dns-resolution.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS check-dns-resolution.ps1 .DESCRIPTION - Checks the DNS resolution with frequently used domain names. + Checks the DNS resolution with frequently used domain names .EXAMPLE - PS> .\check-dns-resolution.ps1 + PS> ./check-dns-resolution .LINK https://github.com/fleschutz/PowerShell .NOTES diff --git a/Scripts/check-drive-space.ps1 b/Scripts/check-drive-space.ps1 index 07a80b0d..579494fd 100755 --- a/Scripts/check-drive-space.ps1 +++ b/Scripts/check-drive-space.ps1 @@ -4,7 +4,7 @@ .DESCRIPTION Checks a drive for free space left (20 GB by default) .EXAMPLE - PS> .\check-drive-space.ps1 C + PS> ./check-drive-space C .LINK https://github.com/fleschutz/PowerShell .NOTES diff --git a/Scripts/check-file-system.ps1 b/Scripts/check-file-system.ps1 index 2f8f6c9b..8a3d3d22 100755 --- a/Scripts/check-file-system.ps1 +++ b/Scripts/check-file-system.ps1 @@ -4,7 +4,7 @@ .DESCRIPTION Checks the file system of a drive (needs admin rights) .EXAMPLE - PS> .\check-file-system.ps1 C + PS> ./check-file-system C .LINK https://github.com/fleschutz/PowerShell .NOTES diff --git a/Scripts/check-health.ps1 b/Scripts/check-health.ps1 index 07f22c3e..04f48f31 100755 --- a/Scripts/check-health.ps1 +++ b/Scripts/check-health.ps1 @@ -4,7 +4,7 @@ .DESCRIPTION Checks the health of the local computer .EXAMPLE - PS> .\check-health.ps1 + PS> ./check-health .LINK https://github.com/fleschutz/PowerShell .NOTES diff --git a/Scripts/check-ipv4-address.ps1 b/Scripts/check-ipv4-address.ps1 index ad8d1349..bf755749 100755 --- a/Scripts/check-ipv4-address.ps1 +++ b/Scripts/check-ipv4-address.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS check-ipv4-address.ps1 [
] .DESCRIPTION - Checks the given IPv4 address for validity. + Checks the given IPv4 address for validity .EXAMPLE - PS> .\check-ipv4-address.ps1 192.168.11.22 + PS> ./check-ipv4-address 192.168.11.22 .LINK https://github.com/fleschutz/PowerShell .NOTES diff --git a/Scripts/check-ipv6-address.ps1 b/Scripts/check-ipv6-address.ps1 index 75bf49ad..0988eddf 100755 --- a/Scripts/check-ipv6-address.ps1 +++ b/Scripts/check-ipv6-address.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS check-ipv6-address.ps1 [
] .DESCRIPTION - Checks the given IPv6 address for validity. + Checks the given IPv6 address for validity .EXAMPLE - PS> .\check-ipv6-address.ps1 fe80::200:5aee:feaa:20a2 + PS> ./check-ipv6-address fe80::200:5aee:feaa:20a2 .LINK https://github.com/fleschutz/PowerShell .NOTES diff --git a/Scripts/check-mac-address.ps1 b/Scripts/check-mac-address.ps1 index b643a5a7..a09191b7 100755 --- a/Scripts/check-mac-address.ps1 +++ b/Scripts/check-mac-address.ps1 @@ -4,7 +4,7 @@ .DESCRIPTION Checks the given MAC address for validity (MAC address like 00:00:00:00:00:00 or 00-00-00-00-00-00 or 000000000000). .EXAMPLE - PS> .\check-mac-address.ps1 11:22:33:44:55:66 + PS> ./check-mac-address 11:22:33:44:55:66 .LINK https://github.com/fleschutz/PowerShell .NOTES diff --git a/Scripts/check-ping.ps1 b/Scripts/check-ping.ps1 index eee22fbf..be48cc53 100755 --- a/Scripts/check-ping.ps1 +++ b/Scripts/check-ping.ps1 @@ -2,10 +2,10 @@ .SYNOPSIS check-ping.ps1 [] .DESCRIPTION - Checks the ping latency from the local computer to Internet hosts. + Checks the ping latency from the local computer to selected Internet hosts (default is: 'amazon.com,apple.com,bing.com,cnn.com,dropbox.com,facebook.com,google.com,live.com,twitter.com,youtube.com) .EXAMPLE - PS> .\check-ping.ps1 + PS> ./check-ping .LINK https://github.com/fleschutz/PowerShell .NOTES diff --git a/Scripts/check-subnet-mask.ps1 b/Scripts/check-subnet-mask.ps1 index 038316e4..89188a0d 100755 --- a/Scripts/check-subnet-mask.ps1 +++ b/Scripts/check-subnet-mask.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS check-subnet-mask.ps1 [
] .DESCRIPTION - Checks the given subnet mask for validity. + Checks the given subnet mask for validity .EXAMPLE - PS> .\check-subnet-mask.ps1 255.255.255.0 + PS> ./check-subnet-mask 255.255.255.0 .LINK https://github.com/fleschutz/PowerShell .NOTES diff --git a/Scripts/check-swap-space.ps1 b/Scripts/check-swap-space.ps1 index c4d04449..56abbbe6 100755 --- a/Scripts/check-swap-space.ps1 +++ b/Scripts/check-swap-space.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS check-swap-space.ps1 [] .DESCRIPTION - Checks the free swap space. + Checks the free swap space .EXAMPLE - PS> .\check-swap-space.ps1 + PS> ./check-swap-space .LINK https://github.com/fleschutz/PowerShell .NOTES diff --git a/Scripts/check-symlinks.ps1 b/Scripts/check-symlinks.ps1 index a5600f16..b950fc57 100755 --- a/Scripts/check-symlinks.ps1 +++ b/Scripts/check-symlinks.ps1 @@ -4,7 +4,7 @@ .DESCRIPTION Checks every symlink in a directory tree .EXAMPLE - PS> .\check-symlinks.ps1 C:\MyApp + PS> ./check-symlinks C:\MyApp .LINK https://github.com/fleschutz/PowerShell .NOTES diff --git a/Scripts/check-weather.ps1 b/Scripts/check-weather.ps1 index 76e0aace..631f214b 100755 --- a/Scripts/check-weather.ps1 +++ b/Scripts/check-weather.ps1 @@ -2,16 +2,16 @@ .SYNOPSIS check-weather.ps1 [] .DESCRIPTION - Checks the weather for critical values. + Checks the weather for critical values .EXAMPLE - PS> .\check-weather.ps1 + PS> ./check-weather .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz · License: CC0 #> -param([string]$Location = "") # empty means determine automatically +param([string]$location = "") # empty means determine automatically function Check { param([int]$Value, [int]$NormalMin, [int]$NormalMax, [string]$Unit) if ($Value -lt $NormalMin) { @@ -24,7 +24,7 @@ function Check { param([int]$Value, [int]$NormalMin, [int]$NormalMax, [string]$ } try { - $Weather = (Invoke-WebRequest http://wttr.in/${Location}?format=j1 -UserAgent "curl" ).Content | ConvertFrom-Json + $Weather = (Invoke-WebRequest http://wttr.in/${location}?format=j1 -UserAgent "curl" ).Content | ConvertFrom-Json $Temp = $Weather.current_condition.temp_C $Precip = $Weather.current_condition.precipMM diff --git a/Scripts/check-windows-system-files.ps1 b/Scripts/check-windows-system-files.ps1 index 0aa7570d..ede5d8ac 100755 --- a/Scripts/check-windows-system-files.ps1 +++ b/Scripts/check-windows-system-files.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS check-windows-system-files.ps1 .DESCRIPTION - Checks the validity of the Windows system files (requires admin rights). + Checks the validity of the Windows system files (requires admin rights) .EXAMPLE - PS> .\check-windows-system-files.ps1 + PS> ./check-windows-system-files .LINK https://github.com/fleschutz/PowerShell .NOTES diff --git a/Scripts/check-xml-file.ps1 b/Scripts/check-xml-file.ps1 index 179460e4..f303c2a9 100755 --- a/Scripts/check-xml-file.ps1 +++ b/Scripts/check-xml-file.ps1 @@ -2,21 +2,21 @@ .SYNOPSIS check-xml-file [] .DESCRIPTION - Checks the given XML file for validity. + Checks the given XML file for validity .EXAMPLE - PS> .\check-xml-file.ps1 myfile.xml + PS> ./check-xml-file myfile.xml .NOTES Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell #> -param([string]$File = "") +param([string]$file = "") try { - if ($File -eq "" ) { $File = read-host "Enter path to XML file" } + if ($file -eq "" ) { $file = read-host "Enter path to XML file" } - $XmlFile = Get-Item $File + $XmlFile = Get-Item $file $script:ErrorCount = 0 diff --git a/Scripts/cherry-picker.ps1 b/Scripts/cherry-picker.ps1 index 7248ccb1..fb5db2b2 100755 --- a/Scripts/cherry-picker.ps1 +++ b/Scripts/cherry-picker.ps1 @@ -2,10 +2,10 @@ .SYNOPSIS cherry-picker.ps1 [] [] [] [] .DESCRIPTION - Cherry-picks a Git commit into one or more branches (branch names need to be separated by spaces). + 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! .EXAMPLE - PS> .\cherry-picker.ps1 93849f889 "Fix typo" "v1 v2 v3" + PS> ./cherry-picker 93849f889 "Fix typo" "v1 v2 v3" .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/clean-repo.ps1 b/Scripts/clean-repo.ps1 index 37521ec8..6d50c109 100755 --- a/Scripts/clean-repo.ps1 +++ b/Scripts/clean-repo.ps1 @@ -1,10 +1,10 @@ <# .SYNOPSIS - clean-repo.ps1 [] + clean-repo.ps1 [] .DESCRIPTION - Cleans a Git repository from untracked files (including submodules, e.g. for a fresh build). + Cleans a Git repository from untracked files (including submodules, e.g. for a fresh build) .EXAMPLE - PS> .\clean-repo.ps1 C:\MyRepo + PS> ./clean-repo C:\MyRepo .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/clean-repos.ps1 b/Scripts/clean-repos.ps1 index c5a28031..f9e61760 100755 --- a/Scripts/clean-repos.ps1 +++ b/Scripts/clean-repos.ps1 @@ -1,10 +1,10 @@ <# .SYNOPSIS - clean-repos.ps1 [] + clean-repos.ps1 [] .DESCRIPTION - Cleans all Git repositories under the current/given directory from untracked files (including submodules). + Cleans all Git repositories under the current/given directory from untracked files (including submodules) .EXAMPLE - PS> .\clean-repos.ps1 C:\MyRepos + PS> ./clean-repos C:\MyRepos .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/clear-recycle-bin.ps1 b/Scripts/clear-recycle-bin.ps1 index ced71e56..ef774232 100755 --- a/Scripts/clear-recycle-bin.ps1 +++ b/Scripts/clear-recycle-bin.ps1 @@ -2,10 +2,10 @@ .SYNOPSIS clear-recycle-bin.ps1 .DESCRIPTION - Removes the content of the recycle bin folder. + Removes the content of the recycle bin folder NOTE: can not be undo! .EXAMPLE - PS> .\clear-recycle-bin.ps1 + PS> ./clear-recycle-bin .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/clone-repos.ps1 b/Scripts/clone-repos.ps1 index 6fa71a46..1ffd4296 100755 --- a/Scripts/clone-repos.ps1 +++ b/Scripts/clone-repos.ps1 @@ -1,10 +1,10 @@ <# .SYNOPSIS - clone-repos.ps1 [] + clone-repos.ps1 [] .DESCRIPTION - Clones well-known Git repositories under the current/given directory. + Clones well-known Git repositories under the current/given directory .EXAMPLE - PS> .\clone-repos.ps1 C:\MyRepos + PS> ./clone-repos C:\MyRepos .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/close-calculator.ps1 b/Scripts/close-calculator.ps1 index b3a6e42f..f871922e 100755 --- a/Scripts/close-calculator.ps1 +++ b/Scripts/close-calculator.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS close-calculator.ps1 .DESCRIPTION - Closes the calculator program gracefully. + Closes the calculator program gracefully .EXAMPLE - PS> .\close-calculator.ps1 + PS> ./close-calculator .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/close-chrome.ps1 b/Scripts/close-chrome.ps1 index afd82e20..af60905b 100755 --- a/Scripts/close-chrome.ps1 +++ b/Scripts/close-chrome.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS close-chrome.ps1 .DESCRIPTION - Closes the Web browser Google Chrome gracefully. + Closes the Web browser Google Chrome gracefully .EXAMPLE - PS> .\close-chrome.ps1 + PS> ./close-chrome .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/close-cortana.ps1 b/Scripts/close-cortana.ps1 index f89152e8..15b8a3b4 100755 --- a/Scripts/close-cortana.ps1 +++ b/Scripts/close-cortana.ps1 @@ -1,10 +1,10 @@ <# .SYNOPSIS - close-cortana.ps1 + close-cortana.ps1 .DESCRIPTION - Closes Cortana gracefully. + Closes Cortana gracefully .EXAMPLE - PS> .\close-cortana.ps1 + PS> ./close-cortana .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/close-edge.ps1 b/Scripts/close-edge.ps1 index c549a104..689b056a 100755 --- a/Scripts/close-edge.ps1 +++ b/Scripts/close-edge.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS close-edge.ps1 .DESCRIPTION - Closes the Web browser Microsoft Edge gracefully. + Closes the Web browser Microsoft Edge gracefully .EXAMPLE - PS> .\close-edge.ps1 + PS> ./close-edge .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/close-file-explorer.ps1 b/Scripts/close-file-explorer.ps1 index 3ffedc54..5858f9b7 100755 --- a/Scripts/close-file-explorer.ps1 +++ b/Scripts/close-file-explorer.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS close-file-explorer.ps1 .DESCRIPTION - Closes Microsoft File Explorer gracefully. + Closes Microsoft File Explorer gracefully .EXAMPLE - PS> .\close-file-explorer.ps1 + PS> ./close-file-explorer .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/close-firefox.ps1 b/Scripts/close-firefox.ps1 index db48a7cd..0da2d188 100755 --- a/Scripts/close-firefox.ps1 +++ b/Scripts/close-firefox.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS close-firefox.ps1 .DESCRIPTION - Closes the Firefox Web browser gracefully. + Closes the Firefox Web browser gracefully .EXAMPLE - PS> .\close-firefox.ps1 + PS> ./close-firefox .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/close-netflix.ps1 b/Scripts/close-netflix.ps1 index 04fb91b4..00d4fdf7 100755 --- a/Scripts/close-netflix.ps1 +++ b/Scripts/close-netflix.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS close-netflix.ps1 .DESCRIPTION - Closes the Netflix program gracefully. + Closes the Netflix program gracefully .EXAMPLE - PS> .\close-netflix.ps1 + PS> ./close-netflix .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/close-onedrive.ps1 b/Scripts/close-onedrive.ps1 index 374fd34d..976d2ad8 100755 --- a/Scripts/close-onedrive.ps1 +++ b/Scripts/close-onedrive.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS close-onedrive.ps1 .DESCRIPTION - Closes Microsoft OneDrive gracefully. + Closes Microsoft OneDrive gracefully .EXAMPLE - PS> .\close-onedrive.ps1 + PS> ./close-onedrive .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/close-program.ps1 b/Scripts/close-program.ps1 index d8b9aa62..168d6c2a 100755 --- a/Scripts/close-program.ps1 +++ b/Scripts/close-program.ps1 @@ -1,10 +1,10 @@ <# .SYNOPSIS - close-program.ps1 [] [] [] + close-program.ps1 [] [] [] .DESCRIPTION - Closes the processes of the given program gracefully. + Closes the processes of the given program gracefully .EXAMPLE - PS> .\close-program.ps1 "Google Chrome" "chrome.exe" + PS> ./close-program "Google Chrome" "chrome.exe" .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/close-system-settings.ps1 b/Scripts/close-system-settings.ps1 index d6a9fc61..4f1890b5 100755 --- a/Scripts/close-system-settings.ps1 +++ b/Scripts/close-system-settings.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS close-system-settings.ps1 .DESCRIPTION - Closes the System Settings gracefully. + Closes the System Settings gracefully .EXAMPLE - PS> .\close-system-settings.ps1 + PS> ./close-system-settings .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/close-thunderbird.ps1 b/Scripts/close-thunderbird.ps1 index 170ecf73..51114ce0 100755 --- a/Scripts/close-thunderbird.ps1 +++ b/Scripts/close-thunderbird.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS close-thunderbird.ps1 .DESCRIPTION - Closes the mail client Mozilla Thunderbird gracefully. + Closes the mail client Mozilla Thunderbird gracefully .EXAMPLE - PS> .\close-thunderbird.ps1 + PS> ./close-thunderbird .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/close-vlc.ps1 b/Scripts/close-vlc.ps1 index 4f234e0b..94fa10cf 100755 --- a/Scripts/close-vlc.ps1 +++ b/Scripts/close-vlc.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS close-vlc.ps1 .DESCRIPTION - Closes the VLC media player gracefully. + Closes the VLC media player gracefully .EXAMPLE - PS> .\close-vlc.ps1 + PS> ./close-vlc .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/close-windows-terminal.ps1 b/Scripts/close-windows-terminal.ps1 index 74d28160..db4f80b0 100755 --- a/Scripts/close-windows-terminal.ps1 +++ b/Scripts/close-windows-terminal.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS close-windows-terminal.ps1 .DESCRIPTION - Closes Windows Terminal gracefully. + Closes Windows Terminal gracefully .EXAMPLE - PS> .\close-windows-terminal.ps1 + PS> ./close-windows-terminal .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/configure-git.ps1 b/Scripts/configure-git.ps1 index e85f99d6..0f1379cb 100755 --- a/Scripts/configure-git.ps1 +++ b/Scripts/configure-git.ps1 @@ -4,7 +4,7 @@ .DESCRIPTION Sets up the Git user configuration .EXAMPLE - PS> .\configure-git.ps1 + PS> ./configure-git .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/convert-csv2txt.ps1 b/Scripts/convert-csv2txt.ps1 index 99ab621c..6ad254d0 100755 --- a/Scripts/convert-csv2txt.ps1 +++ b/Scripts/convert-csv2txt.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS convert-csv2txt.ps1 [] .DESCRIPTION - Converts a .CSV file into a text file. + Converts a .CSV file into a text file .EXAMPLE - PS> .\convert-csv2txt.ps1 salaries.csv + PS> ./convert-csv2txt salaries.csv .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/convert-mysql2csv.ps1 b/Scripts/convert-mysql2csv.ps1 index 7afac0bd..68e93599 100755 --- a/Scripts/convert-mysql2csv.ps1 +++ b/Scripts/convert-mysql2csv.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS convert-mysql2csv.ps1 [] [] [] [] [] .DESCRIPTION - Convert a MySQL database table to a .CSV file. + Convert a MySQL database table to a .CSV file .EXAMPLE - PS> .\convert-mysql2csv.ps1 + PS> ./convert-mysql2csv .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/convert-ps2bat.ps1 b/Scripts/convert-ps2bat.ps1 index 5bc63578..aa8f1c1d 100644 --- a/Scripts/convert-ps2bat.ps1 +++ b/Scripts/convert-ps2bat.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS convert-ps2bat.ps1 [] .DESCRIPTION - Converts a PowerShell script to .bat files. + Converts a PowerShell script to .bat files .EXAMPLE - PS> .\convert-ps2bat.ps1 *.ps1 + PS> ./convert-ps2bat *.ps1 .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/convert-ps2md.ps1 b/Scripts/convert-ps2md.ps1 index c5339b37..54913234 100644 --- a/Scripts/convert-ps2md.ps1 +++ b/Scripts/convert-ps2md.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS convert-ps2md.ps1 [] .DESCRIPTION - Converts the comment-based help of a PowerShell script to Markdown. + Converts the comment-based help of a PowerShell script to Markdown .EXAMPLE - PS> .\convert-ps2md.ps1 myscript.ps1 + PS> ./convert-ps2md myscript.ps1 .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/convert-sql2csv.ps1 b/Scripts/convert-sql2csv.ps1 index 4ca29262..fd5d310e 100755 --- a/Scripts/convert-sql2csv.ps1 +++ b/Scripts/convert-sql2csv.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS convert-sql2csv.ps1 [] [] [] [] [] .DESCRIPTION - Converts a SQL database table to a .CSV file. + Converts a SQL database table to a .CSV file .EXAMPLE - PS> .\convert-sql2csv.ps1 + PS> ./convert-sql2csv .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/convert-txt2wav.ps1 b/Scripts/convert-txt2wav.ps1 index ce94b70e..4da72a2f 100755 --- a/Scripts/convert-txt2wav.ps1 +++ b/Scripts/convert-txt2wav.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS convert-txt2wav.ps1 [] [] .DESCRIPTION - Converts text to a .WAV audio file. + Converts text to a .WAV audio file .EXAMPLE - PS> .\convert-txt2wav.ps1 "Hello World" spoken.wav + PS> ./convert-txt2wav "Hello World" spoken.wav .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/copy-photos-sorted.ps1 b/Scripts/copy-photos-sorted.ps1 index 70a2ca8a..d5102a63 100755 --- a/Scripts/copy-photos-sorted.ps1 +++ b/Scripts/copy-photos-sorted.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS copy-photos-sorted.ps1 [] [] .DESCRIPTION - Copy image files from SourceDir to TargetDir sorted by year and month. + Copy image files from SourceDir to TargetDir sorted by year and month .EXAMPLE - PS> .\copy-photos-sorted.ps1 D:\Mobile\DCIM C:\MyPhotoAlbum + PS> ./copy-photos-sorted D:\Mobile\DCIM C:\MyPhotoAlbum .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/decrypt-file.ps1 b/Scripts/decrypt-file.ps1 index 262f2678..2f63500e 100755 --- a/Scripts/decrypt-file.ps1 +++ b/Scripts/decrypt-file.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS decrypt-file.ps1 [] [] .DESCRIPTION - Decrypts the given file. + Decrypts the given file .EXAMPLE - PS> .\decrypt-file-rules.ps1 C:\MyFile.txt "123" + PS> ./decrypt-file-rules C:\MyFile.txt "123" .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/display-time.ps1 b/Scripts/display-time.ps1 index 9cc3344c..eb21ee2f 100755 --- a/Scripts/display-time.ps1 +++ b/Scripts/display-time.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS display-time.ps1 [] .DESCRIPTION - Displays the current time (for 10 seconds by default). + Displays the current time (for 10 seconds by default) .EXAMPLE - PS> .\display-time.ps1 + PS> ./display-time .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/download-dir.ps1 b/Scripts/download-dir.ps1 index 2f8f6407..cb191bc6 100755 --- a/Scripts/download-dir.ps1 +++ b/Scripts/download-dir.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS download-dir.ps1 [] .DESCRIPTION - Downloads a directory tree from the given URL. + Downloads a directory tree from the given URL .EXAMPLE - PS> .\download-dir.ps1 "https://www.cnn.com" + PS> ./download-dir "https://www.cnn.com" .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/download-file.ps1 b/Scripts/download-file.ps1 index 02d50539..4a16fb46 100755 --- a/Scripts/download-file.ps1 +++ b/Scripts/download-file.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS download-file.ps1 [] .DESCRIPTION - Downloads a file from the given URL. + Downloads a file from the given URL .EXAMPLE - PS> .\download-file.ps1 "https://www.cnn.com/index.html" + PS> ./download-file "https://www.cnn.com/index.html" .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/edit.ps1 b/Scripts/edit.ps1 index ffa47fae..6ed9af96 100755 --- a/Scripts/edit.ps1 +++ b/Scripts/edit.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS edit.ps1 .DESCRIPTION - Opens the built-in text editor to edit the given file. + Opens the built-in text editor to edit the given file .EXAMPLE - PS> .\edit.ps1 C:\MyFile.txt + PS> ./edit C:\MyFile.txt .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/enable-crash-dumps.ps1 b/Scripts/enable-crash-dumps.ps1 index 5fd1b919..ebf4eaa1 100755 --- a/Scripts/enable-crash-dumps.ps1 +++ b/Scripts/enable-crash-dumps.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS enable-crash-dumps.ps1 .DESCRIPTION - Enables the writing of crash dumps. + Enables the writing of crash dumps .EXAMPLE - PS> .\enable-crash-dumps.ps1 + PS> ./enable-crash-dumps .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/enable-god-mode.ps1 b/Scripts/enable-god-mode.ps1 index 9f1053bc..1f9a1520 100755 --- a/Scripts/enable-god-mode.ps1 +++ b/Scripts/enable-god-mode.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS enable-god-mode.ps1 .DESCRIPTION - Enables the god mode (adds a new icon to the desktop). + Enables the god mode (adds a new icon to the desktop) .EXAMPLE - PS> .\enable-god-mode.ps1 + PS> ./enable-god-mode .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/encrypt-file.ps1 b/Scripts/encrypt-file.ps1 index 0663422f..6d533704 100755 --- a/Scripts/encrypt-file.ps1 +++ b/Scripts/encrypt-file.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS encrypt-file.ps1 [] [] .DESCRIPTION - Encrypts the given file. + Encrypts the given file .EXAMPLE - PS> .\encrypt-file.ps1 C:\MyFile.txt "123" + PS> ./encrypt-file C:\MyFile.txt "123" .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/enter-chat.ps1 b/Scripts/enter-chat.ps1 index 89a15fe0..e0088fd1 100644 --- a/Scripts/enter-chat.ps1 +++ b/Scripts/enter-chat.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS enter-chat.ps1 .DESCRIPTION - Enters a chat using a common network shared file. + Enters a chat using a common network shared file .EXAMPLE - PS> .\enter-chat.ps1 + PS> ./enter-chat .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/fetch-repo.ps1 b/Scripts/fetch-repo.ps1 index edf692da..34f88a04 100755 --- a/Scripts/fetch-repo.ps1 +++ b/Scripts/fetch-repo.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS fetch-repo.ps1 [] .DESCRIPTION - Fetches updates for a local Git repository (including submodules). + Fetches updates for a local Git repository (including submodules) .EXAMPLE - PS> .\fetch-repo.ps1 + PS> ./fetch-repo .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/fetch-repos.ps1 b/Scripts/fetch-repos.ps1 index 1d364d61..786e3614 100755 --- a/Scripts/fetch-repos.ps1 +++ b/Scripts/fetch-repos.ps1 @@ -1,10 +1,10 @@ <# .SYNOPSIS - fetch-repos.ps1 [] + fetch-repos.ps1 [] .DESCRIPTION - Fetches updates for all Git repositories under the current/given directory (including submodules). + Fetches updates for all Git repositories under the current/given directory (including submodules) .EXAMPLE - PS> .\fetch-repos.ps1 C:\MyRepos + PS> ./fetch-repos C:\MyRepos .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/get-md5.ps1 b/Scripts/get-md5.ps1 index 263bc40e..d109f7e8 100755 --- a/Scripts/get-md5.ps1 +++ b/Scripts/get-md5.ps1 @@ -4,7 +4,7 @@ .DESCRIPTION Prints the MD5 checksum of the given file .EXAMPLE - PS> .\MD5.ps1 C:\MyFile.txt + PS> ./get-md5 C:\MyFile.txt .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/get-sha1.ps1 b/Scripts/get-sha1.ps1 index 068aa00f..33f0d530 100755 --- a/Scripts/get-sha1.ps1 +++ b/Scripts/get-sha1.ps1 @@ -4,7 +4,7 @@ .DESCRIPTION Prints the SHA1 checksum of the given file .EXAMPLE - PS> .\get-sha1.ps1 C:\MyFile.txt + PS> ./get-sha1 C:\MyFile.txt .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/get-sha256.ps1 b/Scripts/get-sha256.ps1 index 47069c16..9784d454 100755 --- a/Scripts/get-sha256.ps1 +++ b/Scripts/get-sha256.ps1 @@ -4,7 +4,7 @@ .DESCRIPTION Prints the SHA256 checksum of the given file .EXAMPLE - PS> .\get-sha256.ps1 C:\MyFile.txt + PS> ./get-sha256 C:\MyFile.txt .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/hibernate.ps1 b/Scripts/hibernate.ps1 index b8546b4f..a30cc57c 100755 --- a/Scripts/hibernate.ps1 +++ b/Scripts/hibernate.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS hibernate.ps1 .DESCRIPTION - Enables hibernate mode for the local computer (needs admin rights). + Enables hibernate mode for the local computer (needs admin rights) .EXAMPLE - PS> .\hibernate.ps1 + PS> ./hibernate .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/inspect-exe.ps1 b/Scripts/inspect-exe.ps1 index 4813dbf3..362f148c 100755 --- a/Scripts/inspect-exe.ps1 +++ b/Scripts/inspect-exe.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS inspect-exe.ps1 [] .DESCRIPTION - Prints basic information of the given executable file. + Prints basic information of the given executable file .EXAMPLE - PS> .\inspect-exe.ps1 C:\MyApp.exe + PS> ./inspect-exe C:\MyApp.exe .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/install-github-cli.ps1 b/Scripts/install-github-cli.ps1 index 343d282b..20ae0e92 100644 --- a/Scripts/install-github-cli.ps1 +++ b/Scripts/install-github-cli.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS install-github-cli.ps1 .DESCRIPTION - Installs GitHub CLI. + Installs GitHub CLI .EXAMPLE - PS> .\install-github-cli.ps1 + PS> ./install-github-cli .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/install-google-chrome.ps1 b/Scripts/install-google-chrome.ps1 index d2174497..5cb622bd 100755 --- a/Scripts/install-google-chrome.ps1 +++ b/Scripts/install-google-chrome.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS install-google-chrome.ps1 .DESCRIPTION - Installs the latest Google Chrome browser. + Installs the latest Google Chrome browser .EXAMPLE - PS> .\install-google-chrome.ps1 + PS> ./install-google-chrome .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/install-knot-resolver.ps1 b/Scripts/install-knot-resolver.ps1 index 23aea446..0af8c38d 100644 --- a/Scripts/install-knot-resolver.ps1 +++ b/Scripts/install-knot-resolver.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS install-knot-resolver.ps1 .DESCRIPTION - Installs the Knot Resolver (a DNS resolver daemon, needs admin rights). + Installs the Knot Resolver (a DNS resolver daemon, needs admin rights) .EXAMPLE - PS> .\install-knot-resolver.ps1 + PS> ./install-knot-resolver .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/install-signal-cli.ps1 b/Scripts/install-signal-cli.ps1 index 7355d5bf..ffc50331 100755 --- a/Scripts/install-signal-cli.ps1 +++ b/Scripts/install-signal-cli.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS install-signal-cli.ps1 [] .DESCRIPTION - Installs signal-cli from github.com/AsamK/signal-cli. See the Web page for the correct version number. + Installs signal-cli from github.com/AsamK/signal-cli. See the Web page for the correct version number .EXAMPLE - PS> .\install-signal-cli.ps1 0.11.12 + PS> ./install-signal-cli 0.11.12 .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/install-ssh-client.ps1 b/Scripts/install-ssh-client.ps1 index 67c84ccc..2f41263d 100755 --- a/Scripts/install-ssh-client.ps1 +++ b/Scripts/install-ssh-client.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS install-ssh-client.ps1 .DESCRIPTION - Installs the SSH client (needs admin rights). + Installs the SSH client (needs admin rights) .EXAMPLE - PS> .\install-ssh-client.ps1 + PS> ./install-ssh-client .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/install-ssh-server.ps1 b/Scripts/install-ssh-server.ps1 index 84c5a426..11ace8ce 100755 --- a/Scripts/install-ssh-server.ps1 +++ b/Scripts/install-ssh-server.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS install-ssh-server.ps1 .DESCRIPTION - Installs the SSH server (needs admin rights). + Installs the SSH server (needs admin rights) .EXAMPLE - PS> .\install-ssh-server.ps1 + PS> ./install-ssh-server .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/install-updates.ps1 b/Scripts/install-updates.ps1 index 5de7b40c..1509bc86 100755 --- a/Scripts/install-updates.ps1 +++ b/Scripts/install-updates.ps1 @@ -4,7 +4,7 @@ .DESCRIPTION Installs updates (needs admin rights) .EXAMPLE - PS> .\install-updates.ps1 + PS> ./install-updates .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/install-wsl.ps1 b/Scripts/install-wsl.ps1 index cdd838b0..c5133669 100755 --- a/Scripts/install-wsl.ps1 +++ b/Scripts/install-wsl.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS install-wsl.ps1 .DESCRIPTION - Installs Windows Subsystem for Linux (WSL) - needs admin rights. + Installs Windows Subsystem for Linux (WSL) - needs admin rights .EXAMPLE - PS> .\install-wsl.ps1 + PS> ./install-wsl .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/introduce-powershell.ps1 b/Scripts/introduce-powershell.ps1 index 2ac04f9b..75a3232e 100755 --- a/Scripts/introduce-powershell.ps1 +++ b/Scripts/introduce-powershell.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS introduce-powershell.ps1 .DESCRIPTION - Introduces PowerShell to new users. + Introduces PowerShell to new users .EXAMPLE - PS> .\introduce-powershell.ps1 + PS> ./introduce-powershell .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/list-aliases.ps1 b/Scripts/list-aliases.ps1 index facc7371..3371bdc9 100755 --- a/Scripts/list-aliases.ps1 +++ b/Scripts/list-aliases.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS list-aliases.ps1 .DESCRIPTION - Lists all PowerShell aliases. + Lists all PowerShell aliases .EXAMPLE - PS> .\list-aliases.ps1 + PS> ./list-aliases .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/list-anagrams.ps1 b/Scripts/list-anagrams.ps1 index 1c62ba51..2d162509 100755 --- a/Scripts/list-anagrams.ps1 +++ b/Scripts/list-anagrams.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS list-anagrams.ps1 [] [] .DESCRIPTION - Lists all anagrams of the given word. + Lists all anagrams of the given word .EXAMPLE - PS> .\list-anagrams.ps1 Markus + PS> ./list-anagrams Baby .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/list-automatic-variables.ps1 b/Scripts/list-automatic-variables.ps1 index 1298eace..375d08a9 100755 --- a/Scripts/list-automatic-variables.ps1 +++ b/Scripts/list-automatic-variables.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS list-automatic-variables.ps1 .DESCRIPTION - Lists all automatic variables of PowerShell. + Lists all automatic variables of PowerShell .EXAMPLE - PS> .\list-automatic-variables.ps1 + PS> ./list-automatic-variables .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/list-branches.ps1 b/Scripts/list-branches.ps1 index ef97f041..19aefd48 100755 --- a/Scripts/list-branches.ps1 +++ b/Scripts/list-branches.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS list-branches.ps1 [] [] .DESCRIPTION - Lists all branches in the current/given Git repository. + Lists all branches in the current/given Git repository .EXAMPLE - PS> .\list-branches.ps1 + PS> ./list-branches .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/list-cheat-sheet.ps1 b/Scripts/list-cheat-sheet.ps1 index 87861060..919029a5 100755 --- a/Scripts/list-cheat-sheet.ps1 +++ b/Scripts/list-cheat-sheet.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS list-cheat-sheet.ps1 .DESCRIPTION - Lists the PowerShell cheat sheet. + Lists the PowerShell cheat sheet .EXAMPLE - PS> .\list-cheat-sheet.ps1 + PS> ./list-cheat-sheet .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/list-city-weather.ps1 b/Scripts/list-city-weather.ps1 index c9d08f50..91a3b9c0 100755 --- a/Scripts/list-city-weather.ps1 +++ b/Scripts/list-city-weather.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS list-city-weather.ps1 .DESCRIPTION - List the current weather of cities world-wide (west to east). + List the current weather of cities world-wide (west to east) .EXAMPLE - PS> .\list-city-weather.ps1 + PS> ./list-city-weather .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/list-cli-tools.ps1 b/Scripts/list-cli-tools.ps1 index 8f28c928..2a7a05fe 100755 --- a/Scripts/list-cli-tools.ps1 +++ b/Scripts/list-cli-tools.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS list-cli-tools.ps1 .DESCRIPTION - Lists available command-line interface (CLI) tools. + Lists available command-line interface (CLI) tools .EXAMPLE - PS> .\list-cli-tools.ps1 + PS> ./list-cli-tools .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/list-clipboard.ps1 b/Scripts/list-clipboard.ps1 index 4df16e98..870ecf04 100755 --- a/Scripts/list-clipboard.ps1 +++ b/Scripts/list-clipboard.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS list-clipboard.ps1 .DESCRIPTION - Lists the contents of the clipboard. + Lists the contents of the clipboard .EXAMPLE - PS> .\list-clipboard.ps1 + PS> ./list-clipboard .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/list-cmdlets.ps1 b/Scripts/list-cmdlets.ps1 index 0c3f02a9..6cb95c08 100755 --- a/Scripts/list-cmdlets.ps1 +++ b/Scripts/list-cmdlets.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS list-cmdlets.ps1 .DESCRIPTION - Lists all PowerShell cmdlets. + Lists all PowerShell cmdlets .EXAMPLE - PS> .\list-cmdlets.ps1 + PS> ./list-cmdlets .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/list-commits.ps1 b/Scripts/list-commits.ps1 index 15ac6c5c..b3fc4d8f 100755 --- a/Scripts/list-commits.ps1 +++ b/Scripts/list-commits.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS list-commits.ps1 [] [] .DESCRIPTION - Lists all commits in a Git repository (format is: list|compact|normal|JSON). + Lists all commits in a Git repository (format is: list|compact|normal|JSON) .EXAMPLE - PS> .\list-commits.ps1 + PS> ./list-commits .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/list-console-colors.ps1 b/Scripts/list-console-colors.ps1 index 8eb454a6..8be27c5c 100755 --- a/Scripts/list-console-colors.ps1 +++ b/Scripts/list-console-colors.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS list-console-colors.ps1 .DESCRIPTION - Lists all console colors. + Lists all console colors .EXAMPLE - PS> .\list-console-colors.ps1 + PS> ./list-console-colors .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/list-countries.ps1 b/Scripts/list-countries.ps1 index 12ff36c5..25129624 100644 --- a/Scripts/list-countries.ps1 +++ b/Scripts/list-countries.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS list-countries.ps1 .DESCRIPTION - Lists details of all countries. + Lists details of all countries .EXAMPLE - PS> .\list-countries.ps1 + PS> ./list-countries .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/list-credits.ps1 b/Scripts/list-credits.ps1 index 0253413e..ac563fad 100755 --- a/Scripts/list-credits.ps1 +++ b/Scripts/list-credits.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS list-credits.ps1 .DESCRIPTION - Shows the credits for the PowerShell Scripts. + Shows the credits for the PowerShell Scripts .EXAMPLE - PS> .\list-credits.ps1 + PS> ./list-credits .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/list-crypto-rates.ps1 b/Scripts/list-crypto-rates.ps1 index 6fb0be79..6294054b 100644 --- a/Scripts/list-crypto-rates.ps1 +++ b/Scripts/list-crypto-rates.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS list-crypto-rates.ps1 .DESCRIPTION - Lists the current crypto exchange rates. + Lists the current crypto exchange rates .EXAMPLE - PS> .\list-crypto-rates.ps1 + PS> ./list-crypto-rates .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/list-dir-tree.ps1 b/Scripts/list-dir-tree.ps1 index 56aac97b..11aead84 100755 --- a/Scripts/list-dir-tree.ps1 +++ b/Scripts/list-dir-tree.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS list-dir-tree.ps1 [] .DESCRIPTION - Lists the full directory tree. + Lists the full directory tree .EXAMPLE - PS> .\list-dir-tree.ps1 C:\ + PS> ./list-dir-tree C:\ .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/list-dir.ps1 b/Scripts/list-dir.ps1 index 643fbd81..92e938b8 100755 --- a/Scripts/list-dir.ps1 +++ b/Scripts/list-dir.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS list-dir.ps1 [] .DESCRIPTION - Lists the directory content formatted in columns. + Lists the directory content formatted in columns .EXAMPLE - PS> .\list-dir.ps1 C:\ + PS> ./list-dir C:\ .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/list-drives.ps1 b/Scripts/list-drives.ps1 index 7e9bc018..3fceecff 100755 --- a/Scripts/list-drives.ps1 +++ b/Scripts/list-drives.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS list-drives.ps1 .DESCRIPTION - Lists all drives connected to the computer. + Lists all drives connected to the computer .EXAMPLE - PS> .\list-drives.ps1 + PS> ./list-drives .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/list-earthquakes.ps1 b/Scripts/list-earthquakes.ps1 index fbf0dc18..bc43817e 100755 --- a/Scripts/list-earthquakes.ps1 +++ b/Scripts/list-earthquakes.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS list-earthquakes.ps1 .DESCRIPTION - Lists earthquakes with magnitude >= 6.0 for the last 30 days. + Lists earthquakes with magnitude >= 6.0 for the last 30 days .EXAMPLE - PS> .\list-earthquakes.ps1 + PS> ./list-earthquakes .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/list-emojis.ps1 b/Scripts/list-emojis.ps1 index 82e1e8c7..8cc745f9 100644 --- a/Scripts/list-emojis.ps1 +++ b/Scripts/list-emojis.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS list-emojis.ps1 .DESCRIPTION - Lists the Emojis of Unicode 13.0. + Lists the Emojis of Unicode 13.0 .EXAMPLE - PS> .\list-emojis.ps1 + PS> ./list-emojis .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/list-empty-dirs.ps1 b/Scripts/list-empty-dirs.ps1 index db84d9b5..f177306e 100755 --- a/Scripts/list-empty-dirs.ps1 +++ b/Scripts/list-empty-dirs.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS list-empty-dirs.ps1 [] .DESCRIPTION - Lists empty subfolders within the given directory tree. + Lists empty subfolders within the given directory tree .EXAMPLE - PS> .\list-empty-dirs.ps1 C:\ + PS> ./list-empty-dirs C:\ .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/list-empty-files.ps1 b/Scripts/list-empty-files.ps1 index b06669de..1e9b4870 100755 --- a/Scripts/list-empty-files.ps1 +++ b/Scripts/list-empty-files.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS list-empty-files.ps1 [] .DESCRIPTION - Lists empty files within the given directory tree. + Lists empty files within the given directory tree .EXAMPLE - PS> .\list-empty-files.ps1 C:\ + PS> ./list-empty-files C:\ .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/list-environment-variables.ps1 b/Scripts/list-environment-variables.ps1 index 80e8da2a..ded329c7 100755 --- a/Scripts/list-environment-variables.ps1 +++ b/Scripts/list-environment-variables.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS list-environment-variables.ps1 .DESCRIPTION - Lists all environment variables. + Lists all environment variables .EXAMPLE - PS> .\list-environment-variables.ps1 + PS> ./list-environment-variables .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/list-exchange-rates.ps1 b/Scripts/list-exchange-rates.ps1 index c0b78626..0f3582e5 100644 --- a/Scripts/list-exchange-rates.ps1 +++ b/Scripts/list-exchange-rates.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS list-exchange-rates.ps1 [] .DESCRIPTION - Lists the current exchange rates for the given currency (USD per default). + Lists the current exchange rates for the given currency (USD per default) .EXAMPLE - PS> .\list-exchange-rates.ps1 EUR + PS> ./list-exchange-rates EUR .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/list-files.ps1 b/Scripts/list-files.ps1 index 682ab851..0b37ce42 100755 --- a/Scripts/list-files.ps1 +++ b/Scripts/list-files.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS list-files.ps1 [] .DESCRIPTION - Lists all files in the given directory tree. + Lists all files in the given directory tree .EXAMPLE - PS> .\list-files.ps1 C:\ + PS> ./list-files C:\ .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/list-fritzbox-calls.ps1 b/Scripts/list-fritzbox-calls.ps1 index 8c3cfeaa..561b7038 100755 --- a/Scripts/list-fritzbox-calls.ps1 +++ b/Scripts/list-fritzbox-calls.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS list-fritzbox-calls.ps1 [] [] .DESCRIPTION - Lists the phone calls of the FRITZ!Box device. + Lists the phone calls of the FRITZ!Box device .EXAMPLE - PS> .\list-fritzbox-calls.ps1 + PS> ./list-fritzbox-calls .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/list-fritzbox-devices.ps1 b/Scripts/list-fritzbox-devices.ps1 index f11590be..13b79674 100755 --- a/Scripts/list-fritzbox-devices.ps1 +++ b/Scripts/list-fritzbox-devices.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS list-fritzbox-devices.ps1 [] [] .DESCRIPTION - Lists FRITZ!Box's known devices. + Lists FRITZ!Box's known devices .EXAMPLE - PS> .\list-fritzbox-devices.ps1 + PS> ./list-fritzbox-devices .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/list-hidden-files.ps1 b/Scripts/list-hidden-files.ps1 index 41ef58ad..f3e4ecc5 100755 --- a/Scripts/list-hidden-files.ps1 +++ b/Scripts/list-hidden-files.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS list-hidden-files.ps1 [] .DESCRIPTION - Lists hidden files within the given directory tree. + Lists hidden files within the given directory tree .EXAMPLE - PS> .\list-hidden-files.ps1 C:\ + PS> ./list-hidden-files C:\ .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/list-installed-apps.ps1 b/Scripts/list-installed-apps.ps1 index 679ea1b9..94d758b0 100755 --- a/Scripts/list-installed-apps.ps1 +++ b/Scripts/list-installed-apps.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS list-installed-apps.ps1 .DESCRIPTION - Lists the installed Windows Store apps. + Lists the installed Windows Store apps .EXAMPLE - PS> .\list-installed-apps.ps1 + PS> ./list-installed-apps .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/list-installed-software.ps1 b/Scripts/list-installed-software.ps1 index 41176040..de383db9 100755 --- a/Scripts/list-installed-software.ps1 +++ b/Scripts/list-installed-software.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS list-installed-software.ps1 .DESCRIPTION - Lists the installed software (except Windows Store apps). + Lists the installed software (except Windows Store apps) .EXAMPLE - PS> .\list-installed-software.ps1 + PS> ./list-installed-software .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/list-latest-tag.ps1 b/Scripts/list-latest-tag.ps1 index 15c69b16..0ea9370b 100755 --- a/Scripts/list-latest-tag.ps1 +++ b/Scripts/list-latest-tag.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS list-latest-tag.ps1 [] .DESCRIPTION - Lists the latest tag on the current branch in a Git repository. + Lists the latest tag on the current branch in a Git repository .EXAMPLE - PS> .\list-latest-tag.ps1 C:\MyRepo + PS> ./list-latest-tag C:\MyRepo .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/list-latest-tags.ps1 b/Scripts/list-latest-tags.ps1 index e5df4d22..a3237289 100755 --- a/Scripts/list-latest-tags.ps1 +++ b/Scripts/list-latest-tags.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS list-latest-tags.ps1 [] .DESCRIPTION - Lists the latests tags in all Git repositories under the current/given directory. + Lists the latests tags in all Git repositories under the current/given directory .EXAMPLE - PS> .\list-latest-tags.ps1 C:\MyRepos + PS> ./list-latest-tags C:\MyRepos .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/list-memos.ps1 b/Scripts/list-memos.ps1 index f2dbf5f4..235dabbf 100755 --- a/Scripts/list-memos.ps1 +++ b/Scripts/list-memos.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS list-memos.ps1 .DESCRIPTION - Lists all memos in $HOME/Memos.csv. + Lists all memos in $HOME/Memos.csv .EXAMPLE - PS> .\list-memos.ps1 + PS> ./list-memos .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/list-modules.ps1 b/Scripts/list-modules.ps1 index ba3cd432..52fe7b0e 100755 --- a/Scripts/list-modules.ps1 +++ b/Scripts/list-modules.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS list-modules.ps1 .DESCRIPTION - Lists all PowerShell modules. + Lists all PowerShell modules .EXAMPLE - PS> .\list-modules.ps1 + PS> ./list-modules .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/list-mysql-tables.ps1 b/Scripts/list-mysql-tables.ps1 index d1a7f7d2..5a2b1dab 100755 --- a/Scripts/list-mysql-tables.ps1 +++ b/Scripts/list-mysql-tables.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS list-mysql-tables.ps1 .DESCRIPTION - Lists the MySQL tables. + Lists the MySQL tables .EXAMPLE - PS> .\list-mysql-tables.ps1 + PS> ./list-mysql-tables .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/list-network-shares.ps1 b/Scripts/list-network-shares.ps1 index 3a218146..289207b7 100755 --- a/Scripts/list-network-shares.ps1 +++ b/Scripts/list-network-shares.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS list-network-shares.ps1 .DESCRIPTION - Lists the network shares of the local computer. + Lists the network shares of the local computer .EXAMPLE - PS> .\list-network-shares.ps1 + PS> ./list-network-shares .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/list-news.ps1 b/Scripts/list-news.ps1 index 0ac8a622..873251fe 100755 --- a/Scripts/list-news.ps1 +++ b/Scripts/list-news.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS list-news.ps1 [] [] .DESCRIPTION - Lists the latest news. + Lists the latest news .EXAMPLE - PS> .\list-news.ps1 + PS> ./list-news .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/list-os-releases.ps1 b/Scripts/list-os-releases.ps1 index 4b0b4892..dff0f6ec 100755 --- a/Scripts/list-os-releases.ps1 +++ b/Scripts/list-os-releases.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS list-os-releases.ps1 .DESCRIPTION - Lists OS releases and download URL. + Lists OS releases and download URL .EXAMPLE - PS> .\list-os-releases.ps1 + PS> ./list-os-releases .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/list-os-updates.ps1 b/Scripts/list-os-updates.ps1 index a4fc0229..3cda5898 100755 --- a/Scripts/list-os-updates.ps1 +++ b/Scripts/list-os-updates.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS list-os-updates.ps1 [] [] .DESCRIPTION - Lists the latest operating system updates. + Lists the latest operating system updates .EXAMPLE - PS> .\list-os-updates.ps1 + PS> ./list-os-updates .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/list-passwords.ps1 b/Scripts/list-passwords.ps1 index 9e4adb4c..001fbf9a 100755 --- a/Scripts/list-passwords.ps1 +++ b/Scripts/list-passwords.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS list-passwords.ps1 [] [] [] .DESCRIPTION - Prints a list of random passwords. + Prints a list of random passwords .EXAMPLE - PS> .\list-passwords.ps1 + PS> ./list-passwords .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/list-pins.ps1 b/Scripts/list-pins.ps1 index 22acb477..e9aeff67 100755 --- a/Scripts/list-pins.ps1 +++ b/Scripts/list-pins.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS list-pins.ps1 [] [] [] .DESCRIPTION - Prints a list of random PIN's. + Prints a list of random PIN's .EXAMPLE - PS> .\list-pins.ps1 + PS> ./list-pins .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/list-print-jobs.ps1 b/Scripts/list-print-jobs.ps1 index debf123a..f6afa9bb 100755 --- a/Scripts/list-print-jobs.ps1 +++ b/Scripts/list-print-jobs.ps1 @@ -4,7 +4,7 @@ .DESCRIPTION Lists all jobs from all printers .EXAMPLE - PS> .\list-print-jobs.ps1 + PS> ./list-print-jobs .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/list-printers.ps1 b/Scripts/list-printers.ps1 index ea14310c..8f4f3386 100755 --- a/Scripts/list-printers.ps1 +++ b/Scripts/list-printers.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS list-printers.ps1 .DESCRIPTION - Lists all printer known to the local computer. + Lists all printer known to the local computer .EXAMPLE - PS> .\list-printers.ps1 + PS> ./list-printers .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/list-processes.ps1 b/Scripts/list-processes.ps1 index f02ac00c..a390a8ec 100755 --- a/Scripts/list-processes.ps1 +++ b/Scripts/list-processes.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS list-processes.ps1 .DESCRIPTION - Lists all local computer processes. + Lists all local computer processes .EXAMPLE - PS> .\list-processes.ps1 + PS> ./list-processes .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/list-profiles.ps1 b/Scripts/list-profiles.ps1 index 207c688d..0c506577 100755 --- a/Scripts/list-profiles.ps1 +++ b/Scripts/list-profiles.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS list-profiles.ps1 .DESCRIPTION - Lists your PowerShell profiles. + Lists your PowerShell profiles .EXAMPLE - PS> .\list-profiles.ps1 + PS> ./list-profiles .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/list-recycle-bin.ps1 b/Scripts/list-recycle-bin.ps1 index 97beda13..97c50191 100755 --- a/Scripts/list-recycle-bin.ps1 +++ b/Scripts/list-recycle-bin.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS list-recycle-bin.ps1 .DESCRIPTION - Lists the content of the recycle bin folder. + Lists the content of the recycle bin folder .EXAMPLE - PS> .\list-recycle-bin.ps1 + PS> ./list-recycle-bin .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/list-scripts.ps1 b/Scripts/list-scripts.ps1 index 2d87ccb1..12f46447 100755 --- a/Scripts/list-scripts.ps1 +++ b/Scripts/list-scripts.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS list-scripts.ps1 .DESCRIPTION - Lists all PowerShell scripts in this repository (sorted alphabetically). + Lists all PowerShell scripts in this repository (sorted alphabetically) .EXAMPLE - PS> .\list-scripts.ps1 + PS> ./list-scripts .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/list-services.ps1 b/Scripts/list-services.ps1 index 06c2669a..1d778711 100755 --- a/Scripts/list-services.ps1 +++ b/Scripts/list-services.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS list-services.ps1 .DESCRIPTION - Lists the local computer services. + Lists the local computer services .EXAMPLE - PS> .\list-services.ps1 + PS> ./list-services .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/list-sql-tables.ps1 b/Scripts/list-sql-tables.ps1 index fa355c32..e513b453 100755 --- a/Scripts/list-sql-tables.ps1 +++ b/Scripts/list-sql-tables.ps1 @@ -2,11 +2,11 @@ .SYNOPSIS list-sql-tables.ps1 .DESCRIPTION - Lists all tables in a SQL server database and exports the list as CSV. + Lists all tables in a SQL server database and exports the list as CSV Install-Module InvokeQuery Run the above command if you do not have this module. .EXAMPLE - PS> .\list-sql-tables.ps1 + PS> ./list-sql-tables .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/list-submodules.ps1 b/Scripts/list-submodules.ps1 index 415d7536..001c5e92 100644 --- a/Scripts/list-submodules.ps1 +++ b/Scripts/list-submodules.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS list-submodules.ps1 [] .DESCRIPTION - Lists the submodules of the current/given Git repository. + Lists the submodules of the current/given Git repository .EXAMPLE - PS> .\list-submodules.ps1 C:\MyRepo + PS> ./list-submodules C:\MyRepo .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/list-system-info.ps1 b/Scripts/list-system-info.ps1 index 6e9a7050..e7e5aaa5 100755 --- a/Scripts/list-system-info.ps1 +++ b/Scripts/list-system-info.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS list-system-info.ps1 .DESCRIPTION - Lists system information on the local computer. + Lists system information on the local computer .EXAMPLE - PS> .\list-system-info.ps1 + PS> ./list-system-info .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/list-tags.ps1 b/Scripts/list-tags.ps1 index f16213f1..7981b8ae 100755 --- a/Scripts/list-tags.ps1 +++ b/Scripts/list-tags.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS list-tags.ps1 [] [] .DESCRIPTION - Lists all tags in the current/given Git repository. + Lists all tags in the current/given Git repository .EXAMPLE - PS> .\list-tags.ps1 C:\MyRepo + PS> ./list-tags C:\MyRepo .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/list-tasks.ps1 b/Scripts/list-tasks.ps1 index 2ddc4505..f5497c35 100755 --- a/Scripts/list-tasks.ps1 +++ b/Scripts/list-tasks.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS list-tasks.ps1 .DESCRIPTION - Lists all Windows scheduler tasks. + Lists all Windows scheduler tasks .EXAMPLE - PS> .\list-tasks.ps1 + PS> ./list-tasks .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/list-timezone.ps1 b/Scripts/list-timezone.ps1 index 97ab707e..8daea84f 100755 --- a/Scripts/list-timezone.ps1 +++ b/Scripts/list-timezone.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS list-timezone.ps1 .DESCRIPTION - Lists the details of the current time zone. + Lists the details of the current time zone .EXAMPLE - PS> .\list-timezone.ps1 + PS> ./list-timezone .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/list-timezones.ps1 b/Scripts/list-timezones.ps1 index 0d546b02..350772e3 100755 --- a/Scripts/list-timezones.ps1 +++ b/Scripts/list-timezones.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS list-timezones.ps1 .DESCRIPTION - Lists all available time zones. + Lists all available time zones .EXAMPLE - PS> .\list-timezones.ps1 + PS> ./list-timezones .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/list-tiobe-index.ps1 b/Scripts/list-tiobe-index.ps1 index 8f82ee37..363f3d8f 100644 --- a/Scripts/list-tiobe-index.ps1 +++ b/Scripts/list-tiobe-index.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS list-tiobe-index.ps1 .DESCRIPTION - Lists the TIOBE index of top programming languages. + Lists the TIOBE index of top programming languages .EXAMPLE - PS> .\list-tiobe-index.ps1 + PS> ./list-tiobe-index .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/list-unused-files.ps1 b/Scripts/list-unused-files.ps1 index 1e2d0858..b3e147cd 100755 --- a/Scripts/list-unused-files.ps1 +++ b/Scripts/list-unused-files.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS list-unused-files.ps1 .DESCRIPTION - Lists files in the with last access time older than . + Lists files in the with last access time older than .EXAMPLE - PS> .\list-unused-files.ps1 C:\ 90 + PS> ./list-unused-files C:\ 90 .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/list-user-groups.ps1 b/Scripts/list-user-groups.ps1 index ef3b304d..dca42739 100755 --- a/Scripts/list-user-groups.ps1 +++ b/Scripts/list-user-groups.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS list-user-groups.ps1 .DESCRIPTION - Lists the user groups on the local computer. + Lists the user groups on the local computer .EXAMPLE - PS> .\list-user-groups.ps1 + PS> ./list-user-groups .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/list-voices.ps1 b/Scripts/list-voices.ps1 index c6efced2..49e5c33f 100644 --- a/Scripts/list-voices.ps1 +++ b/Scripts/list-voices.ps1 @@ -4,7 +4,7 @@ .DESCRIPTION Lists the installed text-to-speech (TTS) voices .EXAMPLE - PS> .\list-voices.ps1 + PS> ./list-voices .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/list-weather.ps1 b/Scripts/list-weather.ps1 index 4907697b..933b2312 100755 --- a/Scripts/list-weather.ps1 +++ b/Scripts/list-weather.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS list-weather.ps1 [] .DESCRIPTION - Lists the hourly weather. + Lists the hourly weather .EXAMPLE - PS> .\list-weather.ps1 + PS> ./list-weather .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/list-workdir.ps1 b/Scripts/list-workdir.ps1 index ec0f409d..4ff64ae6 100644 --- a/Scripts/list-workdir.ps1 +++ b/Scripts/list-workdir.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS list-workdir.ps1 .DESCRIPTION - Lists the current working directory. + Lists the current working directory .EXAMPLE - PS> .\list-workdir.ps1 + PS> ./list-workdir .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/locate-city.ps1 b/Scripts/locate-city.ps1 index 853356a4..a1209726 100755 --- a/Scripts/locate-city.ps1 +++ b/Scripts/locate-city.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS locate-city.ps1 [] .DESCRIPTION - Prints the geographic location of the given city. + Prints the geographic location of the given city .EXAMPLE - PS> .\locate-city.ps1 Paris + PS> ./locate-city Paris .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/locate-ipaddress.ps1 b/Scripts/locate-ipaddress.ps1 index e6cfc700..8e9f7f36 100755 --- a/Scripts/locate-ipaddress.ps1 +++ b/Scripts/locate-ipaddress.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS locate-ipaddress.ps1 [] .DESCRIPTION - Prints the geographic location of the given IP address. + Prints the geographic location of the given IP address .EXAMPLE - PS> .\locate-ipaddress.ps1 177.144.67.98 + PS> ./locate-ipaddress 177.144.67.98 .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/locate-zip-code.ps1 b/Scripts/locate-zip-code.ps1 index ba8bfb04..081c7d18 100755 --- a/Scripts/locate-zip-code.ps1 +++ b/Scripts/locate-zip-code.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS locate-zip-code.ps1 [] [] .DESCRIPTION - Prints the geographic location of the given zip-code. + Prints the geographic location of the given zip-code .EXAMPLE - PS> .\locate-zip-code.ps1 + PS> ./locate-zip-code .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/make-install.ps1 b/Scripts/make-install.ps1 index de9415c3..24a3ee73 100755 --- a/Scripts/make-install.ps1 +++ b/Scripts/make-install.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS make-install.ps1 .DESCRIPTION - Copies newer EXE's + DLL's from the build directory to the installation directory. + Copies newer EXE's + DLL's from the build directory to the installation directory .EXAMPLE - PS> .\make-install.ps1 + PS> ./make-install .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/make-repo.ps1 b/Scripts/make-repo.ps1 index 3f9495ac..d8be619b 100755 --- a/Scripts/make-repo.ps1 +++ b/Scripts/make-repo.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS make-repo.ps1 [] .DESCRIPTION - Builds a Git repository supporting cmake,configure,autogen,Imakefile,Makefile. + Builds a Git repository supporting cmake,configure,autogen,Imakefile,Makefile .EXAMPLE - PS> .\make-repo.ps1 C:\MyRepo + PS> ./make-repo C:\MyRepo .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/make-repos.ps1 b/Scripts/make-repos.ps1 index 19c81f0c..a665a406 100755 --- a/Scripts/make-repos.ps1 +++ b/Scripts/make-repos.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS make-repos.ps1 [] .DESCRIPTION - Builds all Git repositories under the current/given directory. + Builds all Git repositories under the current/given directory .EXAMPLE - PS> .\make-repos.ps1 C:\MyRepos + PS> ./make-repos C:\MyRepos .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/moon.ps1 b/Scripts/moon.ps1 index d0a7285b..d200d4d1 100755 --- a/Scripts/moon.ps1 +++ b/Scripts/moon.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS moon.ps1 .DESCRIPTION - Prints the current moon phase. + Prints the current moon phase .EXAMPLE - PS> .\moon.ps1.ps1 + PS> ./moon .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/mute-audio.ps1 b/Scripts/mute-audio.ps1 index 72945718..00ce11dd 100755 --- a/Scripts/mute-audio.ps1 +++ b/Scripts/mute-audio.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS mute-audio.ps1 .DESCRIPTION - Mutes the audio output. + Mutes the audio output .EXAMPLE - PS> .\mute-audio.ps1 + PS> ./mute-audio .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/new-branch.ps1 b/Scripts/new-branch.ps1 index 5648b802..d5b01217 100755 --- a/Scripts/new-branch.ps1 +++ b/Scripts/new-branch.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS new-branch.ps1 [] [] .DESCRIPTION - Creates and switches to a new branch in a Git repository. + Creates and switches to a new branch in a Git repository .EXAMPLE - PS> .\new-branch.ps1 moonshot + PS> ./new-branch test123 .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/new-email.ps1 b/Scripts/new-email.ps1 index 853dc67b..2f0048c3 100755 --- a/Scripts/new-email.ps1 +++ b/Scripts/new-email.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS new-email.ps1 [
] .DESCRIPTION - Opens the default email client to write a new email. + Opens the default email client to write a new email .EXAMPLE - PS> .\new-email.ps1 + PS> ./new-email .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/new-qrcode.ps1 b/Scripts/new-qrcode.ps1 index 10af4e6c..85eb20e0 100755 --- a/Scripts/new-qrcode.ps1 +++ b/Scripts/new-qrcode.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS new-qrcode.ps1 [] [] .DESCRIPTION - Generates a new QR code image file. + Generates a new QR code image file .EXAMPLE - PS> .\new-qrcode.ps1 "Fasten seatbelt" 500x500 + PS> ./new-qrcode "Fasten seatbelt" 500x500 .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/new-script.ps1 b/Scripts/new-script.ps1 index 50f2715a..0bd2b67f 100755 --- a/Scripts/new-script.ps1 +++ b/Scripts/new-script.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS new-script.ps1 [] .DESCRIPTION - Creates a new PowerShell script. + Creates a new PowerShell script .EXAMPLE - PS> .\new-script.ps1 myscript.ps1 + PS> ./new-script myscript.ps1 .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/new-shortcut.ps1 b/Scripts/new-shortcut.ps1 index 6df87187..53773eaa 100755 --- a/Scripts/new-shortcut.ps1 +++ b/Scripts/new-shortcut.ps1 @@ -4,7 +4,7 @@ .DESCRIPTION Creates a new shortcut file .EXAMPLE - PS> .\new-shortcut.ps1 C:\Temp\HDD C:\ + PS> ./new-shortcut C:\Temp\HDD C:\ .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/new-symlink.ps1 b/Scripts/new-symlink.ps1 index 6442c298..9332083e 100755 --- a/Scripts/new-symlink.ps1 +++ b/Scripts/new-symlink.ps1 @@ -4,7 +4,7 @@ .DESCRIPTION Creates a new symbolic link file .EXAMPLE - PS> .\new-symlink.ps1 C:\Temp\HDD C:\ + PS> ./new-symlink C:\Temp\HDD C:\ .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/new-tag.ps1 b/Scripts/new-tag.ps1 index 6517495c..e0087752 100755 --- a/Scripts/new-tag.ps1 +++ b/Scripts/new-tag.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS new-tag.ps1 [] [] .DESCRIPTION - Creates a new tag in a Git repository. + Creates a new tag in a Git repository .EXAMPLE - PS> .\create-tag.ps1 v1.7 + PS> ./create-tag v1.7 .LINK https://github.com/fleschutz/PowerShell .NOTES diff --git a/Scripts/new-zipfile.ps1 b/Scripts/new-zipfile.ps1 index 4787b1df..f433855d 100755 --- a/Scripts/new-zipfile.ps1 +++ b/Scripts/new-zipfile.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS new-zipfile.ps1 [] .DESCRIPTION - Creates a new .zip file from a directory. + Creates a new .zip file from a directory .EXAMPLE - PS> .\new-zipfile.ps1 C:\Windows + PS> ./new-zipfile C:\Windows .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/open-browser.ps1 b/Scripts/open-browser.ps1 index 2f6b6e14..0401a77e 100755 --- a/Scripts/open-browser.ps1 +++ b/Scripts/open-browser.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS open-browser.ps1 [] .DESCRIPTION - Opens the default Web browser, optional with given URL. + Opens the default Web browser, optional with given URL .EXAMPLE - PS> .\open-browser.ps1 + PS> ./open-browser .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/open-calculator.ps1 b/Scripts/open-calculator.ps1 index ee80f10b..738cb1f6 100755 --- a/Scripts/open-calculator.ps1 +++ b/Scripts/open-calculator.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS open-calculator.ps1 .DESCRIPTION - Starts the calculator program. + Starts the calculator program .EXAMPLE - PS> .\open-calculator.ps1 + PS> ./open-calculator .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/open-email-client.ps1 b/Scripts/open-email-client.ps1 index aa40caed..c8c07439 100755 --- a/Scripts/open-email-client.ps1 +++ b/Scripts/open-email-client.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS open-email-client.ps1 .DESCRIPTION - Starts the default email client. + Starts the default email client .EXAMPLE - PS> .\open-email-client.ps1 + PS> ./open-email-client .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/open-file-explorer.ps1 b/Scripts/open-file-explorer.ps1 index 246eb6be..a300f3fe 100755 --- a/Scripts/open-file-explorer.ps1 +++ b/Scripts/open-file-explorer.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS open-file-explorer.ps1 .DESCRIPTION - Starts the File Explorer. + Starts the File Explorer .EXAMPLE - PS> .\open-file-explorer.ps1 + PS> ./open-file-explorer .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/open-netflix.ps1 b/Scripts/open-netflix.ps1 index ff4728b9..8e6444ab 100755 --- a/Scripts/open-netflix.ps1 +++ b/Scripts/open-netflix.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS open-netflix.ps1 .DESCRIPTION - Starts the Netflix app (needs to be installed). + Starts the Netflix app (needs to be installed) .EXAMPLE - PS> .\open-netflix.ps1 + PS> ./open-netflix .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/open-onedrive.ps1 b/Scripts/open-onedrive.ps1 index e2a8f53c..ffc7ed92 100755 --- a/Scripts/open-onedrive.ps1 +++ b/Scripts/open-onedrive.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS open-onedrive.ps1 .DESCRIPTION - Opens the user's OneDrive folder. + Opens the user's OneDrive folder .EXAMPLE - PS> .\open-onedrive.ps1 + PS> ./open-onedrive .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/open-recycle-bin.ps1 b/Scripts/open-recycle-bin.ps1 index 9d8cbb6d..f2e31478 100755 --- a/Scripts/open-recycle-bin.ps1 +++ b/Scripts/open-recycle-bin.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS open-recycle-bin.ps1 .DESCRIPTION - Starts the File Explorer with the recycle bin folder. + Starts the File Explorer with the recycle bin folder .EXAMPLE - PS> .\open-recycle-bin.ps1 + PS> ./open-recycle-bin .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/play-beep.ps1 b/Scripts/play-beep.ps1 index 55a2d7b0..b8bb59f1 100755 --- a/Scripts/play-beep.ps1 +++ b/Scripts/play-beep.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS play-beep.ps1 .DESCRIPTION - Plays a short beep sound. + Plays a short beep sound .EXAMPLE - PS> .\play-beep.ps1 + PS> ./play-beep .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/play-files.ps1 b/Scripts/play-files.ps1 index 62e800d1..5ffa31e8 100755 --- a/Scripts/play-files.ps1 +++ b/Scripts/play-files.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS play-files.ps1 [] .DESCRIPTION - Plays the given audio files (supporting MP3 and WAV format). + Plays the given audio files (supporting MP3 and WAV format) .EXAMPLE - PS> .\play-files.ps1 *.mp3 + PS> ./play-files *.mp3 .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/play-happy-birthday.ps1 b/Scripts/play-happy-birthday.ps1 index 015eb1aa..c018bb3a 100644 --- a/Scripts/play-happy-birthday.ps1 +++ b/Scripts/play-happy-birthday.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS play-happy-birthday.ps1 .DESCRIPTION - Plays the Happy Birthday song. + Plays the Happy Birthday song .EXAMPLE - PS> .\play-happy-birthday.ps1 + PS> ./play-happy-birthday .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/play-imperial-march.ps1 b/Scripts/play-imperial-march.ps1 index 0b6e9389..98219843 100755 --- a/Scripts/play-imperial-march.ps1 +++ b/Scripts/play-imperial-march.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS play-imperial-march.ps1 .DESCRIPTION - Plays the Imperial March (Star Wars). + Plays the Imperial March (Star Wars) .EXAMPLE - PS> .\play-imperial-march.ps1 + PS> ./play-imperial-march .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/play-jingle-bells.ps1 b/Scripts/play-jingle-bells.ps1 index f2d6be61..fb78f900 100644 --- a/Scripts/play-jingle-bells.ps1 +++ b/Scripts/play-jingle-bells.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS play-jingle-bells.ps1 .DESCRIPTION - Plays Jingle Bells. + Plays Jingle Bells .EXAMPLE - PS> .\play-jingle-bells.ps1 + PS> ./play-jingle-bells .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/play-m3u.ps1 b/Scripts/play-m3u.ps1 index eab7ec2b..03fce322 100755 --- a/Scripts/play-m3u.ps1 +++ b/Scripts/play-m3u.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS play-m3u.ps1 [] .DESCRIPTION - Plays the given playlist (in .M3U file format). + Plays the given playlist (in .M3U file format) .EXAMPLE - PS> .\play-m3u.ps1 C:\MyPlaylist.m3u + PS> ./play-m3u C:\MyPlaylist.m3u .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/play-mission-impossible.ps1 b/Scripts/play-mission-impossible.ps1 index 1ec982c4..7c9c4acd 100755 --- a/Scripts/play-mission-impossible.ps1 +++ b/Scripts/play-mission-impossible.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS play-mission-impossible.ps1 .DESCRIPTION - Plays the Mission Impossible theme. + Plays the Mission Impossible theme .EXAMPLE - PS> .\play-mission-impossible.ps1 + PS> ./play-mission-impossible .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/play-mp3.ps1 b/Scripts/play-mp3.ps1 index eefdb6fe..68be5c63 100755 --- a/Scripts/play-mp3.ps1 +++ b/Scripts/play-mp3.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS play-mp3.ps1 [] .DESCRIPTION - Plays the given sound file (MP3 file format). + Plays the given sound file (MP3 file format) .EXAMPLE - PS> .\play-mp3.ps1 C:\thunder.mp3 + PS> ./play-mp3 C:\thunder.mp3 .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/play-super-mario.ps1 b/Scripts/play-super-mario.ps1 index 8837f811..18be7614 100755 --- a/Scripts/play-super-mario.ps1 +++ b/Scripts/play-super-mario.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS play-super-mario.ps1 .DESCRIPTION - Plays the Super Mario intro. + Plays the Super Mario intro .EXAMPLE - PS> .\play-super-mario.ps1 + PS> ./play-super-mario .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/play-tetris-melody.ps1 b/Scripts/play-tetris-melody.ps1 index f83ef948..d1a9c666 100644 --- a/Scripts/play-tetris-melody.ps1 +++ b/Scripts/play-tetris-melody.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS play-tetris-melody.ps1 .DESCRIPTION - Plays the Tetris melody. + Plays the Tetris melody .EXAMPLE - PS> .\play-tetris-melody.ps1 + PS> ./play-tetris-melody .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/poweroff.ps1 b/Scripts/poweroff.ps1 index 481b6419..edd6078f 100755 --- a/Scripts/poweroff.ps1 +++ b/Scripts/poweroff.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS poweroff.ps1 .DESCRIPTION - Halts the local computer (needs admin rights). + Halts the local computer (needs admin rights) .EXAMPLE - PS> .\poweroff.ps1 + PS> ./poweroff .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/publish-to-ipfs.ps1 b/Scripts/publish-to-ipfs.ps1 index ad41ece0..b951f731 100755 --- a/Scripts/publish-to-ipfs.ps1 +++ b/Scripts/publish-to-ipfs.ps1 @@ -4,7 +4,7 @@ .DESCRIPTION Publishes the given files & folders to IPFS .EXAMPLE - PS> .\publish-to-ipfs.ps1 C:\MyFile.txt + PS> ./publish-to-ipfs C:\MyFile.txt .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/pull-repo.ps1 b/Scripts/pull-repo.ps1 index 7e8b67d9..4b9e1059 100755 --- a/Scripts/pull-repo.ps1 +++ b/Scripts/pull-repo.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS pull-repo.ps1 [] .DESCRIPTION - Pulls updates for a local Git repository (including submodules). + Pulls updates for a local Git repository (including submodules) .EXAMPLE - PS> .\pull-repo.ps1 C:\MyRepo + PS> ./pull-repo C:\MyRepo .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/pull-repos.ps1 b/Scripts/pull-repos.ps1 index 6a41588a..5dbb6777 100755 --- a/Scripts/pull-repos.ps1 +++ b/Scripts/pull-repos.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS pull-repos.ps1 [] .DESCRIPTION - Pulls updates for all Git repositories under the current/given directory (including submodules). + Pulls updates for all Git repositories under the current/given directory (including submodules) .EXAMPLE - PS> .\pull-repos.ps1 C:\MyRepos + PS> ./pull-repos C:\MyRepos .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/query-smart-data.ps1 b/Scripts/query-smart-data.ps1 index e01e005d..e8902bad 100755 --- a/Scripts/query-smart-data.ps1 +++ b/Scripts/query-smart-data.ps1 @@ -7,7 +7,7 @@ Requires smartctl (smartmontools) and admin rights. For automation copy this script to /etc/cron.daily .EXAMPLE - PS> .\query-smart-data.ps1 + PS> ./query-smart-data .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/reboot-fritzbox.ps1 b/Scripts/reboot-fritzbox.ps1 index 6d505c90..16e4d6ea 100755 --- a/Scripts/reboot-fritzbox.ps1 +++ b/Scripts/reboot-fritzbox.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS reboot-fritzbox.ps1 [] [] .DESCRIPTION - Reboots the FRITZ!Box device. + Reboots the FRITZ!Box device .EXAMPLE - PS> .\reboot-fritzbox.ps1 + PS> ./reboot-fritzbox .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/reboot.ps1 b/Scripts/reboot.ps1 index 6ed5d9da..986eda7e 100755 --- a/Scripts/reboot.ps1 +++ b/Scripts/reboot.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS reboot.ps1 .DESCRIPTION - Reboots the local computer (needs admin rights). + Reboots the local computer (needs admin rights) .EXAMPLE - PS> .\reboot.ps1 + PS> ./reboot .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/remove-empty-dirs.ps1 b/Scripts/remove-empty-dirs.ps1 index da0574a2..0040c1eb 100755 --- a/Scripts/remove-empty-dirs.ps1 +++ b/Scripts/remove-empty-dirs.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS remove-empty-dirs.ps1 [] .DESCRIPTION - Removes all empty subfolders within the given directory tree. + Removes all empty subfolders within the given directory tree .EXAMPLE - PS> .\remove-empty-dirs.ps1 C:\Temp + PS> ./remove-empty-dirs C:\Temp .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/remove-print-jobs.ps1 b/Scripts/remove-print-jobs.ps1 index 79e5e5f2..837aad21 100755 --- a/Scripts/remove-print-jobs.ps1 +++ b/Scripts/remove-print-jobs.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS remove-print-jobs.ps1 .DESCRIPTION - removes all jobs from all printers + Removes all jobs from all printers .EXAMPLE - PS> .\remove-print-jobs.ps1 + PS> ./remove-print-jobs .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/remove-tag.ps1 b/Scripts/remove-tag.ps1 index 6292f9d2..7ce7b7ff 100755 --- a/Scripts/remove-tag.ps1 +++ b/Scripts/remove-tag.ps1 @@ -4,7 +4,7 @@ .DESCRIPTION Removes a Git tag (locally, remote, or both) .EXAMPLE - PS> .\remove-tag.ps1 v1.7 locally + PS> ./remove-tag v1.7 locally .LINK https://github.com/fleschutz/PowerShell .NOTES diff --git a/Scripts/restart-network-adapters.ps1 b/Scripts/restart-network-adapters.ps1 index e6f1b287..0aebf600 100644 --- a/Scripts/restart-network-adapters.ps1 +++ b/Scripts/restart-network-adapters.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS restart-network-adapters.ps1 .DESCRIPTION - Restarts all local network adapters (needs admin rights). + Restarts all local network adapters (needs admin rights) .EXAMPLE - PS> .\restart-network-adapters.ps1 + PS> ./restart-network-adapters .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/scan-ports.ps1 b/Scripts/scan-ports.ps1 index 4b67017f..788c6ded 100755 --- a/Scripts/scan-ports.ps1 +++ b/Scripts/scan-ports.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS scan-ports.ps1 .DESCRIPTION - Scans the network for open/closed ports. + Scans the network for open/closed ports .EXAMPLE - PS> .\scan-ports.ps1 + PS> ./scan-ports .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/search-filename.ps1 b/Scripts/search-filename.ps1 index f088affb..0e88c0ca 100755 --- a/Scripts/search-filename.ps1 +++ b/Scripts/search-filename.ps1 @@ -2,10 +2,10 @@ .SYNOPSIS search-filename.ps1 .DESCRIPTION - This script serves as a quick Powershell replacement to the search functionality in Windows. + This 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. .EXAMPLE - PS> .\search-filename.ps1 + PS> ./search-filename .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/search-files.ps1 b/Scripts/search-files.ps1 index 5071aefd..2a7712d0 100755 --- a/Scripts/search-files.ps1 +++ b/Scripts/search-files.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS search-files.ps1 [] [] .DESCRIPTION - Searches for the given pattern in the given files. + Searches for the given pattern in the given files .EXAMPLE - PS> .\search-files.ps1 UFO C:\Temp\*.txt + PS> ./search-files UFO C:\Temp\*.txt .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/send-email.ps1 b/Scripts/send-email.ps1 index d985446b..e350c71c 100755 --- a/Scripts/send-email.ps1 +++ b/Scripts/send-email.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS send-email.ps1 .DESCRIPTION - Sends an email message. + Sends an email message .EXAMPLE - PS> .\send-email.ps1 + PS> ./send-email .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/send-tcp.ps1 b/Scripts/send-tcp.ps1 index ed9101ef..91396ef5 100755 --- a/Scripts/send-tcp.ps1 +++ b/Scripts/send-tcp.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS send-tcp.ps1 [] [] [] .DESCRIPTION - Sends a TCP message to the given IP address and port. + Sends a TCP message to the given IP address and port .EXAMPLE - PS> .\send-tcp.ps1 192.168.100.100 8080 "TEST" + PS> ./send-tcp 192.168.100.100 8080 "TEST" .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/send-udp.ps1 b/Scripts/send-udp.ps1 index 3b63aa2c..54ff6ef5 100755 --- a/Scripts/send-udp.ps1 +++ b/Scripts/send-udp.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS send-udp.ps1 [] [] [] .DESCRIPTION - Sends a UDP datagram message to the given IP address and port. + Sends a UDP datagram message to the given IP address and port .EXAMPLE - PS> .\send-udp.ps1 192.168.100.100 8080 "TEST" + PS> ./send-udp 192.168.100.100 8080 "TEST" .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/set-profile.ps1 b/Scripts/set-profile.ps1 index f284450e..9867d0ac 100755 --- a/Scripts/set-profile.ps1 +++ b/Scripts/set-profile.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS set-profile.ps1 .DESCRIPTION - Sets the PowerShell profile for the current user. + Sets the PowerShell profile for the current user .EXAMPLE - PS> .\set-profile.ps1 + PS> ./set-profile .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/set-timer.ps1 b/Scripts/set-timer.ps1 index d0d0c71d..5ef79cd0 100755 --- a/Scripts/set-timer.ps1 +++ b/Scripts/set-timer.ps1 @@ -2,9 +2,9 @@ .SYNOPSIS set-timer.ps1 [] .DESCRIPTION - Sets a timer for a countdown. + Sets a timer for a countdown .EXAMPLE - PS> .\set-timer.ps1 60 + PS> ./set-timer 60 .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/set-wallpaper.ps1 b/Scripts/set-wallpaper.ps1 index b8042c2a..9cb03014 100755 --- a/Scripts/set-wallpaper.ps1 +++ b/Scripts/set-wallpaper.ps1 @@ -5,7 +5,7 @@ Sets the given image file as desktop wallpaper (.JPG or .PNG supported) (