diff --git a/Scripts/add-firewall-rules.ps1 b/Scripts/add-firewall-rules.ps1 index bd86d762..ae5f9247 100755 --- a/Scripts/add-firewall-rules.ps1 +++ b/Scripts/add-firewall-rules.ps1 @@ -2,7 +2,7 @@ .SYNOPSIS Adds firewall rules for executables (needs admin rights) .DESCRIPTION - This script adds firewall rules for the given executable. Administrator rights are required. + This PowerShell script adds firewall rules for the given executable. Administrator rights are required. .PARAMETER PathToExecutables Specifies the path to the executables .EXAMPLE @@ -13,7 +13,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz · License: CC0 + Author: Markus Fleschutz / License: CC0 #> #Requires -RunAsAdministrator diff --git a/Scripts/add-memo.ps1 b/Scripts/add-memo.ps1 index 3ef79d1e..82a7a040 100755 --- a/Scripts/add-memo.ps1 +++ b/Scripts/add-memo.ps1 @@ -1,8 +1,8 @@ <# .SYNOPSIS - Adds a memo text to $HOME/Memos.csv + Adds a memo text .DESCRIPTION - This script adds the given memo text to $HOME/Memos.csv. + This PowerShell script adds the given memo text to $HOME/Memos.csv. .PARAMETER text Specifies the text to memorize .EXAMPLE @@ -11,7 +11,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz · License: CC0 + Author: Markus Fleschutz / License: CC0 #> param([string]$text = "") diff --git a/Scripts/alert.ps1 b/Scripts/alert.ps1 index 1ab371f9..fe752e38 100755 --- a/Scripts/alert.ps1 +++ b/Scripts/alert.ps1 @@ -2,7 +2,7 @@ .SYNOPSIS Handles and escalates an alert .DESCRIPTION - This script handles and escalates the given alert message. + This PowerShell script handles and escalates the given alert message. .PARAMETER message Specifies the alert message .EXAMPLE @@ -10,7 +10,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz · License: CC0 + Author: Markus Fleschutz / License: CC0 #> param([string]$Message = "") diff --git a/Scripts/build-repo.ps1 b/Scripts/build-repo.ps1 index 837a9fc8..e1ed034c 100755 --- a/Scripts/build-repo.ps1 +++ b/Scripts/build-repo.ps1 @@ -2,15 +2,15 @@ .SYNOPSIS Builds a Git repository .DESCRIPTION - This scripts supports building with cmake, configure, autogen, Imakefile and Makefile. + This PowerShell script supports building with cmake, configure, autogen, Imakefile and Makefile. .PARAMETER RepoDir Specifies the path to the Git repository .EXAMPLE PS> ./build-repo C:\MyRepo -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> param([string]$RepoDir = "$PWD") diff --git a/Scripts/build-repos.ps1 b/Scripts/build-repos.ps1 index 8b99ea7c..4a93f88b 100755 --- a/Scripts/build-repos.ps1 +++ b/Scripts/build-repos.ps1 @@ -2,15 +2,15 @@ .SYNOPSIS Builds all Git repositories in a folder .DESCRIPTION - This script builds all Git repositories in a given folder. + This PowerShell script builds all Git repositories in a given folder. .PARAMETER ParentDir Specifies the path to the folder containing the Git repositories .EXAMPLE PS> ./build-repos C:\MyRepos -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> param([string]$ParentDir = "$PWD") diff --git a/Scripts/cd-autostart.ps1 b/Scripts/cd-autostart.ps1 index d2bfcc79..e6de2f65 100755 --- a/Scripts/cd-autostart.ps1 +++ b/Scripts/cd-autostart.ps1 @@ -2,14 +2,14 @@ .SYNOPSIS Sets the working directory to the user's autostart folder .DESCRIPTION - This script changes the working directory to the user's autostart folder. + This PowerShell script changes the working directory to the user's autostart folder. .EXAMPLE PS> ./cd-autostart 📂C:\Users\Markus\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz · License: CC0 + Author: Markus Fleschutz / License: CC0 #> try { diff --git a/Scripts/cd-desktop.ps1 b/Scripts/cd-desktop.ps1 index c7fa1ff0..6344c9b4 100755 --- a/Scripts/cd-desktop.ps1 +++ b/Scripts/cd-desktop.ps1 @@ -2,14 +2,14 @@ .SYNOPSIS Sets the working directory to the user's desktop folder .DESCRIPTION - This script changes the working directory to the user's desktop folder. + This PowerShell script changes the working directory to the user's desktop folder. .EXAMPLE PS> ./cd-desktop 📂/home/markus/Desktop .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz · License: CC0 + Author: Markus Fleschutz / License: CC0 #> try { diff --git a/Scripts/cd-docs.ps1 b/Scripts/cd-docs.ps1 index 968e6d4b..799c80de 100755 --- a/Scripts/cd-docs.ps1 +++ b/Scripts/cd-docs.ps1 @@ -2,14 +2,14 @@ .SYNOPSIS Sets the working directory to the user's documents folder .DESCRIPTION - This scripts changes the working directory to the user's documents folder. + This PowerShell script changes the working directory to the user's documents folder. .EXAMPLE PS> ./cd-docs 📂/home/markus/Documents .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz · License: CC0 + Author: Markus Fleschutz / License: CC0 #> try { diff --git a/Scripts/cd-downloads.ps1 b/Scripts/cd-downloads.ps1 index 3596c42a..0343d063 100755 --- a/Scripts/cd-downloads.ps1 +++ b/Scripts/cd-downloads.ps1 @@ -2,14 +2,14 @@ .SYNOPSIS Sets the working directory to the user's downloads folder .DESCRIPTION - This script changes the working directory to the user's downloads folder. + This PowerShell script changes the working directory to the user's downloads folder. .EXAMPLE PS> ./cd-downloads 📂/home/markus/Downloads .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz · License: CC0 + Author: Markus Fleschutz / License: CC0 #> try { diff --git a/Scripts/cd-dropbox.ps1 b/Scripts/cd-dropbox.ps1 index aaf34168..29b516c0 100755 --- a/Scripts/cd-dropbox.ps1 +++ b/Scripts/cd-dropbox.ps1 @@ -2,14 +2,14 @@ .SYNOPSIS Sets the working directory to the user's Dropbox folder .DESCRIPTION - This script changes the working directory to the user's Dropbox folder. + This PowerShell script changes the working directory to the user's Dropbox folder. .EXAMPLE PS> ./cd-dropbox 📂/home/markus/Dropbox .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz · License: CC0 + Author: Markus Fleschutz / License: CC0 #> try { diff --git a/Scripts/cd-home.ps1 b/Scripts/cd-home.ps1 index 2a1042c1..7aed2ed7 100755 --- a/Scripts/cd-home.ps1 +++ b/Scripts/cd-home.ps1 @@ -2,14 +2,14 @@ .SYNOPSIS Sets the working directory to the user's home directory .DESCRIPTION - This script changes the working directory to the user's home directory. + This PowerShell script changes the working directory to the user's home directory. .EXAMPLE PS> ./cd-home 📂/home/markus .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz · License: CC0 + Author: Markus Fleschutz / License: CC0 #> try { diff --git a/Scripts/cd-music.ps1 b/Scripts/cd-music.ps1 index b0f9f10b..51ca4f0b 100755 --- a/Scripts/cd-music.ps1 +++ b/Scripts/cd-music.ps1 @@ -2,14 +2,14 @@ .SYNOPSIS Sets the working directory to the user's music folder .DESCRIPTION - This script changes the working directory to the user's music folder. + This PowerShell script changes the working directory to the user's music folder. .EXAMPLE PS> ./cd-music 📂/home/markus/Music .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz · License: CC0 + Author: Markus Fleschutz / License: CC0 #> try { diff --git a/Scripts/cd-onedrive.ps1 b/Scripts/cd-onedrive.ps1 index f728b137..b16a4d27 100644 --- a/Scripts/cd-onedrive.ps1 +++ b/Scripts/cd-onedrive.ps1 @@ -2,14 +2,14 @@ .SYNOPSIS Sets the working directory to the user's OneDrive folder .DESCRIPTION - This script changes the working directory to the user's OneDrive folder. + This PowerShell script changes the working directory to the user's OneDrive folder. .EXAMPLE PS> ./cd-onedrive 📂/home/markus/OneDrive .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz · License: CC0 + Author: Markus Fleschutz / License: CC0 #> try { diff --git a/Scripts/cd-pics.ps1 b/Scripts/cd-pics.ps1 index 11e95ce8..75a8a7ca 100755 --- a/Scripts/cd-pics.ps1 +++ b/Scripts/cd-pics.ps1 @@ -2,14 +2,14 @@ .SYNOPSIS Sets the working directory to the user's pictures folder .DESCRIPTION - This script changes the working directory to the user's pictures folder. + This PowerShell script changes the working directory to the user's pictures folder. .EXAMPLE PS> ./cd-pics 📂/home/markus/Pictures .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz · License: CC0 + Author: Markus Fleschutz / License: CC0 #> try { diff --git a/Scripts/cd-recycle-bin.ps1 b/Scripts/cd-recycle-bin.ps1 index a61e8cac..7159e7d1 100644 --- a/Scripts/cd-recycle-bin.ps1 +++ b/Scripts/cd-recycle-bin.ps1 @@ -2,14 +2,14 @@ .SYNOPSIS Sets the working directory to the user's recycle bin folder .DESCRIPTION - This script changes the working directory to the user's recycle bin folder. + 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 .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz · License: CC0 + Author: Markus Fleschutz / License: CC0 #> function Get-CurrentUserSID { [CmdletBinding()] param() diff --git a/Scripts/cd-repos.ps1 b/Scripts/cd-repos.ps1 index eed1b70d..46f47219 100644 --- a/Scripts/cd-repos.ps1 +++ b/Scripts/cd-repos.ps1 @@ -2,14 +2,14 @@ .SYNOPSIS Sets the working directory to the user's Git repositories folder .DESCRIPTION - This script changes the working directory to the user's Git repositories folder. + This PowerShell script changes the working directory to the user's Git repositories folder. .EXAMPLE PS> ./cd-repos 📂/home/markus/Repos .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz · License: CC0 + Author: Markus Fleschutz / License: CC0 #> try { diff --git a/Scripts/cd-root.ps1 b/Scripts/cd-root.ps1 index 03f6de92..365c0bcf 100755 --- a/Scripts/cd-root.ps1 +++ b/Scripts/cd-root.ps1 @@ -1,15 +1,15 @@ <# .SYNOPSIS - Sets the working directory to the root directory (C:\ on Windows) + Sets the working directory to the root directory .DESCRIPTION - This script changes the working directory to the root directory (C:\ on Windows). + This PowerShell script changes the working directory to the root directory (C:\ on Windows). .EXAMPLE PS> ./cd-root 📂C:\ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz · License: CC0 + Author: Markus Fleschutz / License: CC0 #> try { diff --git a/Scripts/cd-scripts.ps1 b/Scripts/cd-scripts.ps1 index 27c7c2ee..69f04b45 100755 --- a/Scripts/cd-scripts.ps1 +++ b/Scripts/cd-scripts.ps1 @@ -2,14 +2,14 @@ .SYNOPSIS Sets the working directory to the PowerShell scripts folder .DESCRIPTION - This script changes the working directory to the PowerShell scripts folder. + This PowerShell script changes the working directory to the PowerShell scripts folder. .EXAMPLE PS> ./cd-scripts 📂/home/markus/PowerShell/Scripts .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz · License: CC0 + Author: Markus Fleschutz / License: CC0 #> try { diff --git a/Scripts/cd-ssh.ps1 b/Scripts/cd-ssh.ps1 index c03e0279..0f503fc6 100755 --- a/Scripts/cd-ssh.ps1 +++ b/Scripts/cd-ssh.ps1 @@ -2,14 +2,14 @@ .SYNOPSIS Sets the working directory to the user's SSH folder .DESCRIPTION - This script changes the working directory to the user's SSH folder. + This PowerShell script changes the working directory to the user's SSH folder. .EXAMPLE PS> ./cd-ssh 📂/home/markus/.ssh .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz · License: CC0 + Author: Markus Fleschutz / License: CC0 #> try { diff --git a/Scripts/cd-temp.ps1 b/Scripts/cd-temp.ps1 index 5245d9b9..5179bf57 100644 --- a/Scripts/cd-temp.ps1 +++ b/Scripts/cd-temp.ps1 @@ -2,14 +2,14 @@ .SYNOPSIS Sets the working directory to the temporary folder .DESCRIPTION - This script changes the working directory to the temporary folder. + This PowerShell script changes the working directory to the temporary folder. .EXAMPLE PS> ./cd-temp 📂C:\Users\markus\AppData\Local\Temp .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz · License: CC0 + Author: Markus Fleschutz / License: CC0 #> function GetTempDir { diff --git a/Scripts/cd-up.ps1 b/Scripts/cd-up.ps1 index 960995c4..e35617d2 100755 --- a/Scripts/cd-up.ps1 +++ b/Scripts/cd-up.ps1 @@ -2,14 +2,13 @@ .SYNOPSIS Sets the working directory to one level up .DESCRIPTION - This script changes the working directory to one directory level up. + This PowerShell script changes the working directory to one directory level up. .EXAMPLE PS> .\cd-up - (one level up) .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz · License: CC0 + Author: Markus Fleschutz / License: CC0 #> try { diff --git a/Scripts/cd-up2.ps1 b/Scripts/cd-up2.ps1 index 5635a2b1..311e0bed 100644 --- a/Scripts/cd-up2.ps1 +++ b/Scripts/cd-up2.ps1 @@ -2,14 +2,13 @@ .SYNOPSIS Sets the working directory to two directory levels up .DESCRIPTION - This script changes the working directory to two directory level up. + This PowerShell script changes the working directory to two directory level up. .EXAMPLE PS> ./cd-up2 - (two levels up) .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz · License: CC0 + Author: Markus Fleschutz / License: CC0 #> try { diff --git a/Scripts/cd-up3.ps1 b/Scripts/cd-up3.ps1 index 88b0a0ec..dfd0f859 100644 --- a/Scripts/cd-up3.ps1 +++ b/Scripts/cd-up3.ps1 @@ -2,14 +2,13 @@ .SYNOPSIS Sets the working directory to three directory levels up .DESCRIPTION - This script changes the working directory to three directory levels up. + This PowerShell script changes the working directory to three directory levels up. .EXAMPLE PS> ./cd-up3 - (three levels up) .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz · License: CC0 + Author: Markus Fleschutz / License: CC0 #> try { diff --git a/Scripts/cd-up4.ps1 b/Scripts/cd-up4.ps1 index e60a3a3a..24557dd5 100644 --- a/Scripts/cd-up4.ps1 +++ b/Scripts/cd-up4.ps1 @@ -2,14 +2,13 @@ .SYNOPSIS Sets the working directory to four directory levels up .DESCRIPTION - This script changes the working directory to four directory levels up. + This PowerShell script changes the working directory to four directory levels up. .EXAMPLE PS> ./cd-up4 - (four levels up) .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz · License: CC0 + Author: Markus Fleschutz / License: CC0 #> try { diff --git a/Scripts/cd-videos.ps1 b/Scripts/cd-videos.ps1 index c393eaa2..cb3cac50 100755 --- a/Scripts/cd-videos.ps1 +++ b/Scripts/cd-videos.ps1 @@ -2,14 +2,14 @@ .SYNOPSIS Sets the working directory to the user's videos folder .DESCRIPTION - This script changes the working directory to the user's videos folder. + This PowerShell script changes the working directory to the user's videos folder. .EXAMPLE PS> ./cd-videos 📂/home/markus/Videos .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz · License: CC0 + Author: Markus Fleschutz / License: CC0 #> try { diff --git a/Scripts/cd-windows.ps1 b/Scripts/cd-windows.ps1 index 8d4f6018..c5b1387e 100644 --- a/Scripts/cd-windows.ps1 +++ b/Scripts/cd-windows.ps1 @@ -2,14 +2,14 @@ .SYNOPSIS Sets the working directory to the Windows directory .DESCRIPTION - This script changes the working directory to the Windows directory. + This PowerShell script changes the working directory to the Windows directory. .EXAMPLE PS> ./cd-windows 📂C:\Windows .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz · License: CC0 + Author: Markus Fleschutz / License: CC0 #> try { diff --git a/Scripts/change-wallpaper.ps1 b/Scripts/change-wallpaper.ps1 index e75e918b..5dcdb3c2 100644 --- a/Scripts/change-wallpaper.ps1 +++ b/Scripts/change-wallpaper.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Changes the wallpaper .DESCRIPTION - This script downloads a random photo from Unsplash and sets it as desktop background. + This PowerShell script downloads a random photo from Unsplash and sets it as desktop background. .PARAMETER Category Specifies the photo category (beach, city, ...) .EXAMPLE PS> ./change-wallpaper .NOTES - Author: Markus Fleschutz · License: CC0 + Author: Markus Fleschutz / License: CC0 .LINK https://github.com/fleschutz/PowerShell #> diff --git a/Scripts/check-cpu.ps1 b/Scripts/check-cpu.ps1 index 2d157918..22b05cdf 100755 --- a/Scripts/check-cpu.ps1 +++ b/Scripts/check-cpu.ps1 @@ -1,15 +1,15 @@ <# .SYNOPSIS - Checks the CPU + Checks the CPU temperature .DESCRIPTION - This script checks the CPU temperature. + This PowerShell script checks the CPU temperature. .EXAMPLE PS> ./check-cpu ✔️ CPU has 30.3 °C .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz · License: CC0 + Author: Markus Fleschutz / License: CC0 #> try { diff --git a/Scripts/check-date.ps1 b/Scripts/check-date.ps1 index 3d0bb690..ded7b51c 100755 --- a/Scripts/check-date.ps1 +++ b/Scripts/check-date.ps1 @@ -2,12 +2,12 @@ .SYNOPSIS Determines the current date .DESCRIPTION - This script determines and speaks the current date by text-to-speech (TTS). + This PowerShell script determines and speaks the current date by text-to-speech (TTS). .EXAMPLE PS> ./check-date ✔️ It's Sunday, October 17, 2021 .NOTES - Author: Markus Fleschutz · License: CC0 + Author: Markus Fleschutz / License: CC0 .LINK https://github.com/fleschutz/PowerShell #> diff --git a/Scripts/check-day.ps1 b/Scripts/check-day.ps1 index 8776863e..6bf65f7d 100644 --- a/Scripts/check-day.ps1 +++ b/Scripts/check-day.ps1 @@ -2,14 +2,14 @@ .SYNOPSIS Determines the current day .DESCRIPTION - This script determines and speaks the current day by text-to-speech (TTS). + This PowerShell script determines and speaks the current day by text-to-speech (TTS). .EXAMPLE PS> ./check-day ✔️ It's Sunday. -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> try { diff --git a/Scripts/check-dns.ps1 b/Scripts/check-dns.ps1 index 9a5e9265..a814532c 100755 --- a/Scripts/check-dns.ps1 +++ b/Scripts/check-dns.ps1 @@ -2,14 +2,14 @@ .SYNOPSIS Checks the DNS resolution .DESCRIPTION - This script checks the DNS resolution with frequently used domain names. + This PowerShell script checks the DNS resolution with frequently used domain names. .EXAMPLE PS> ./check-dns ✔️ DNS resolution is 11.8 domains per second .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz · License: CC0 + Author: Markus Fleschutz / License: CC0 #> try { diff --git a/Scripts/check-drive-space.ps1 b/Scripts/check-drive-space.ps1 index 0c673604..22ea5126 100755 --- a/Scripts/check-drive-space.ps1 +++ b/Scripts/check-drive-space.ps1 @@ -1,8 +1,8 @@ <# .SYNOPSIS - Checks a drive for free space left (20 GB by default) + Checks a drive for free space left .DESCRIPTION - This script checks a drive for free space left (20 GB by default). + This PowerShell script checks a drive for free space left (20 GB by default). .PARAMETER Drive Specifies the drive to check .PARAMETER MinLevel @@ -13,7 +13,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz · License: CC0 + Author: Markus Fleschutz / License: CC0 #> param([string]$Drive = "", [int]$MinLevel = 20) # minimum level in GB diff --git a/Scripts/check-drives.ps1 b/Scripts/check-drives.ps1 index efd8ed10..bacf7db1 100755 --- a/Scripts/check-drives.ps1 +++ b/Scripts/check-drives.ps1 @@ -1,8 +1,8 @@ <# .SYNOPSIS - Checks all drives for free space left (20 GB by default) + Checks all drives for free space left .DESCRIPTION - This script checks all drives for free space left (20 GB by default). + This PowerShell script checks all drives for free space left (20 GB by default). .PARAMETER MinLevel Specifies the minimum level in Gigabyte .EXAMPLE @@ -11,7 +11,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz · License: CC0 + Author: Markus Fleschutz / License: CC0 #> param([int]$MinLevel = 20) # minimum level in GB diff --git a/Scripts/check-dusk.ps1 b/Scripts/check-dusk.ps1 index 85c20342..1526419f 100644 --- a/Scripts/check-dusk.ps1 +++ b/Scripts/check-dusk.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Checks the time of dusk .DESCRIPTION - This script queries the time of dusk and answers by text-to-speech (TTS). + This PowerShell script queries the time of dusk and answers by text-to-speech (TTS). .EXAMPLE PS> ./check-dusk -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> function TimeSpanToString { param([TimeSpan]$Delta) diff --git a/Scripts/check-easter-sunday.ps1 b/Scripts/check-easter-sunday.ps1 index 49361778..d1e7d776 100644 --- a/Scripts/check-easter-sunday.ps1 +++ b/Scripts/check-easter-sunday.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Checks the time until Easter Sunday .DESCRIPTION - This script checks the time until Easter Sunday and replies by text-to-speech (TTS). + This PowerShell script checks the time until Easter Sunday and replies by text-to-speech (TTS). .EXAMPLE PS> ./check-easter-sunday -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> try { diff --git a/Scripts/check-file-system.ps1 b/Scripts/check-file-system.ps1 index 24c8e36a..740c6092 100755 --- a/Scripts/check-file-system.ps1 +++ b/Scripts/check-file-system.ps1 @@ -2,7 +2,7 @@ .SYNOPSIS Checks the file system of a drive (needs admin rights) .DESCRIPTION - This script checks the file system of a drive. It needs admin rights. + This PowerShell script checks the file system of a drive. It needs admin rights. .PARAMETER Drive Specifies the drive to check .EXAMPLE @@ -11,7 +11,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz · License: CC0 + Author: Markus Fleschutz / License: CC0 #> #Requires -RunAsAdministrator diff --git a/Scripts/check-headlines.ps1 b/Scripts/check-headlines.ps1 index c255b728..9e8df89b 100644 --- a/Scripts/check-headlines.ps1 +++ b/Scripts/check-headlines.ps1 @@ -8,11 +8,11 @@ .PARAMETER MaxCount Specifies the number of news to list .EXAMPLE - PS> ./list-news -.NOTES - Author: Markus Fleschutz · License: CC0 + PS> ./check-headlines .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> param([string]$RSS_URL = "https://yahoo.com/news/rss/world", [int]$MaxCount = 8) diff --git a/Scripts/check-health.ps1 b/Scripts/check-health.ps1 index 61390285..883f17e4 100755 --- a/Scripts/check-health.ps1 +++ b/Scripts/check-health.ps1 @@ -2,7 +2,7 @@ .SYNOPSIS Checks the computer health .DESCRIPTION - This script checks the health of the local computer. + This PowerShell script checks the health of the local computer. .EXAMPLE PS> ./check-health ✔️ 1213 GB left for swap space (67 of 1280 GB used) diff --git a/Scripts/check-independence-day.ps1 b/Scripts/check-independence-day.ps1 index 853710d7..cec3eab5 100644 --- a/Scripts/check-independence-day.ps1 +++ b/Scripts/check-independence-day.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Checks the time until Independence Day .DESCRIPTION - This script checks the time until Indepence Day and replies by text-to-speech (TTS). + This PowerShell script checks the time until Indepence Day and replies by text-to-speech (TTS). .EXAMPLE PS> ./check-independence-day -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> try { diff --git a/Scripts/check-ipv4-address.ps1 b/Scripts/check-ipv4-address.ps1 index 4b715848..f43124fc 100755 --- a/Scripts/check-ipv4-address.ps1 +++ b/Scripts/check-ipv4-address.ps1 @@ -2,7 +2,7 @@ .SYNOPSIS Checks an IPv4 address for validity .DESCRIPTION - This script checks the given IPv4 address for validity. + This PowerShell script checks the given IPv4 address for validity. .PARAMETER Address Specifies the IPv4 address to check .EXAMPLE @@ -11,7 +11,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz · License: CC0 + Author: Markus Fleschutz / License: CC0 #> param([string]$Address = "") diff --git a/Scripts/check-ipv6-address.ps1 b/Scripts/check-ipv6-address.ps1 index 82cd1481..73acdaaf 100755 --- a/Scripts/check-ipv6-address.ps1 +++ b/Scripts/check-ipv6-address.ps1 @@ -2,7 +2,7 @@ .SYNOPSIS Checks an IPv6 address for validity .DESCRIPTION - This script checks the given IPv6 address for validity + This PowerShell script checks the given IPv6 address for validity .PARAMETER Address Specifies the IPv6 address to check .EXAMPLE @@ -11,7 +11,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz · License: CC0 + Author: Markus Fleschutz / License: CC0 #> param([string]$Address = "") diff --git a/Scripts/check-iss-position.ps1 b/Scripts/check-iss-position.ps1 index 65a0acc8..b5cd879c 100644 --- a/Scripts/check-iss-position.ps1 +++ b/Scripts/check-iss-position.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Checks the ISS position .DESCRIPTION - This script queries the position of the International Space Station (ISS) and replies by text-to-speech (TTS). + This PowerShell script queries the position of the International Space Station (ISS) and replies by text-to-speech (TTS). .EXAMPLE PS> ./check-iss-position .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz · License: CC0 + Author: Markus Fleschutz / License: CC0 #> try { diff --git a/Scripts/check-mac-address.ps1 b/Scripts/check-mac-address.ps1 index aaee96f8..4bb944ec 100755 --- a/Scripts/check-mac-address.ps1 +++ b/Scripts/check-mac-address.ps1 @@ -2,7 +2,7 @@ .SYNOPSIS Checks the given MAC address for validity .DESCRIPTION - This script checks the given MAC address for validity + 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. .PARAMETER MAC Specifies the MAC address to check @@ -12,7 +12,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz · License: CC0 + Author: Markus Fleschutz / License: CC0 #> param([string]$MAC = "") diff --git a/Scripts/check-midnight.ps1 b/Scripts/check-midnight.ps1 index 78995d5c..543b1ebb 100644 --- a/Scripts/check-midnight.ps1 +++ b/Scripts/check-midnight.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Checks for Midnight .DESCRIPTION - This script checks the time until Midnight and replies by text-to-speech (TTS). + This PowerShell script checks the time until Midnight and replies by text-to-speech (TTS). .EXAMPLE PS> ./check-midnight -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> function TimeSpanToString { param([TimeSpan]$Delta) diff --git a/Scripts/check-month.ps1 b/Scripts/check-month.ps1 index 136826b7..a940b7ab 100644 --- a/Scripts/check-month.ps1 +++ b/Scripts/check-month.ps1 @@ -2,14 +2,14 @@ .SYNOPSIS Gets the current month name .DESCRIPTION - This script determines and speaks the current month name by text-to-speech (TTS). + This PowerShell script determines and speaks the current month name by text-to-speech (TTS). .EXAMPLE PS> ./check-month ✔️ It's December. -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> try { diff --git a/Scripts/check-moon-phase.ps1 b/Scripts/check-moon-phase.ps1 index 5808b64a..9abca864 100644 --- a/Scripts/check-moon-phase.ps1 +++ b/Scripts/check-moon-phase.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Checks the Moon phase .DESCRIPTION - This script determines the Moon phase and answers by text-to-speech (TTS). + This PowerShell script determines the Moon phase and answers by text-to-speech (TTS). .EXAMPLE PS> ./check-moon-phase -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> try { diff --git a/Scripts/check-new-year.ps1 b/Scripts/check-new-year.ps1 index e93c880b..2d8adf38 100644 --- a/Scripts/check-new-year.ps1 +++ b/Scripts/check-new-year.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Checks the time until New Year .DESCRIPTION - This script checks the time until New Year and replies by text-to-speech (TTS). + This PowerShell script checks the time until New Year and replies by text-to-speech (TTS). .EXAMPLE PS> ./check-new-year -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> try { diff --git a/Scripts/check-noon.ps1 b/Scripts/check-noon.ps1 index cf880d6a..9ac69c0c 100644 --- a/Scripts/check-noon.ps1 +++ b/Scripts/check-noon.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Checks for Noon .DESCRIPTION - This script checks the time until Noon and replies by text-to-speech (TTS). + This PowerShell script checks the time until Noon and replies by text-to-speech (TTS). .EXAMPLE PS> ./check-noon -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> function TimeSpanToString { param([TimeSpan]$Delta) diff --git a/Scripts/check-operating-system.ps1 b/Scripts/check-operating-system.ps1 index 08c5c21c..3e3b060a 100755 --- a/Scripts/check-operating-system.ps1 +++ b/Scripts/check-operating-system.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Determines the exact OS version .DESCRIPTION - This script determines and says the exact operating system version by text-to-speech (TTS). + This PowerShell script determines and says the exact operating system version by text-to-speech (TTS). .EXAMPLE PS> ./check-operating-system -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> try { diff --git a/Scripts/check-ping.ps1 b/Scripts/check-ping.ps1 index 96854112..0bf96e8f 100755 --- a/Scripts/check-ping.ps1 +++ b/Scripts/check-ping.ps1 @@ -2,7 +2,7 @@ .SYNOPSIS Checks the ping latency from the local computer to selected Internet hosts .DESCRIPTION - This script checks the ping latency from the local computer to selected Internet hosts. + This PowerShell script checks the ping latency from the local computer to selected Internet hosts. The hosts by default are: amazon.com,bing.com,cnn.com,dropbox.com,facebook.com,google.com,live.com,twitter.com,youtube.com .PARAMETER hosts Specifies the hosts to check (separated by comma) @@ -12,7 +12,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz · License: CC0 + Author: Markus Fleschutz / License: CC0 #> param([string]$hosts = "amazon.com,bing.com,cnn.com,dropbox.com,facebook.com,google.com,live.com,twitter.com,youtube.com") diff --git a/Scripts/check-santa.ps1 b/Scripts/check-santa.ps1 index a692222c..dbddfeeb 100644 --- a/Scripts/check-santa.ps1 +++ b/Scripts/check-santa.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Checks the time until Saint Nicholas Day .DESCRIPTION - This script checks the time until Saint Nicholas Day and replies by text-to-speech (TTS). + This PowerShell script checks the time until Saint Nicholas Day and replies by text-to-speech (TTS). .EXAMPLE PS> ./check-santa -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> try { diff --git a/Scripts/check-smart-devices.ps1 b/Scripts/check-smart-devices.ps1 index e2e8d31d..b1ad3cfc 100755 --- a/Scripts/check-smart-devices.ps1 +++ b/Scripts/check-smart-devices.ps1 @@ -2,17 +2,17 @@ .SYNOPSIS Performs a selftest on your S.M.A.R.T. HDD/SSD devices. .DESCRIPTION - This script performs a selftest on your S.M.A.R.T. HDD/SSD devices. + This PowerShell script performs a selftest on your S.M.A.R.T. HDD/SSD devices. It requires smartctl (smartmontools package) and admin rights. .PARAMETER type Specifies the type of selftest: either short (default) or long .EXAMPLE PS> ./check-smart-devices ✔️ short selftest started on S.M.A.R.T. device /dev/sda -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> #Requires -RunAsAdministrator diff --git a/Scripts/check-subnet-mask.ps1 b/Scripts/check-subnet-mask.ps1 index cad8eb9d..ef851531 100755 --- a/Scripts/check-subnet-mask.ps1 +++ b/Scripts/check-subnet-mask.ps1 @@ -2,7 +2,7 @@ .SYNOPSIS Checks the given subnet mask for validity .DESCRIPTION - This script checks the given subnet mask for validity. + This PowerShell script checks the given subnet mask for validity. .PARAMETER address Specifies the subnet mask to check .EXAMPLE @@ -11,7 +11,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz · License: CC0 + Author: Markus Fleschutz / License: CC0 #> param([string]$address = "") diff --git a/Scripts/check-swap-space.ps1 b/Scripts/check-swap-space.ps1 index 8b4015c1..cdb13a77 100755 --- a/Scripts/check-swap-space.ps1 +++ b/Scripts/check-swap-space.ps1 @@ -2,7 +2,7 @@ .SYNOPSIS Checks the swap space .DESCRIPTION - This script checks the free swap space. + This PowerShell script checks the free swap space. .PARAMETER MinLevel Specifies the minimum level (50 GB by default) .EXAMPLE @@ -11,7 +11,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz · License: CC0 + Author: Markus Fleschutz / License: CC0 #> param([int]$MinLevel = 50) # minimum level in GB diff --git a/Scripts/check-symlinks.ps1 b/Scripts/check-symlinks.ps1 index a98607e2..19a92c47 100755 --- a/Scripts/check-symlinks.ps1 +++ b/Scripts/check-symlinks.ps1 @@ -1,8 +1,8 @@ <# .SYNOPSIS - Checks every symlink in a folder (including subfolders) + Checks every symlink in a folder .DESCRIPTION - This script checks every symlink in a folder (including subfolders). + This PowerShell script checks every symlink in a folder (including subfolders). Returns the number of broken symlinks as exit value. .PARAMETER folder Specifies the path to the directory tree @@ -12,7 +12,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz · License: CC0 + Author: Markus Fleschutz / License: CC0 #> param([string]$folder = "") diff --git a/Scripts/check-time-zone.ps1 b/Scripts/check-time-zone.ps1 index 3d271549..dd30ab4e 100755 --- a/Scripts/check-time-zone.ps1 +++ b/Scripts/check-time-zone.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Determines the time zone .DESCRIPTION - This script determines and returns the current time zone. + This PowerShell script determines and returns the current time zone. .EXAMPLE PS> ./check-time-zone -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> try { diff --git a/Scripts/check-time.ps1 b/Scripts/check-time.ps1 index 7a002ec2..db91b159 100755 --- a/Scripts/check-time.ps1 +++ b/Scripts/check-time.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Determines the current time .DESCRIPTION - This script determines and speaks the current time by text-to-speech (TTS). + This PowerShell script determines and speaks the current time by text-to-speech (TTS). .EXAMPLE PS> ./check-time -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> try { diff --git a/Scripts/check-uptime.ps1 b/Scripts/check-uptime.ps1 index 018d60f9..ef254261 100755 --- a/Scripts/check-uptime.ps1 +++ b/Scripts/check-uptime.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Determines the uptime .DESCRIPTION - This script determines and says the uptime by text-to-speech (TTS). + This PowerShell script determines and says the uptime by text-to-speech (TTS). .EXAMPLE PS> ./check-uptime -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> try { diff --git a/Scripts/check-vpn.ps1 b/Scripts/check-vpn.ps1 index 17347226..82407866 100755 --- a/Scripts/check-vpn.ps1 +++ b/Scripts/check-vpn.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Checks the VPN connections .DESCRIPTION - This script checks the status of all available VPN connections. + This PowerShell script checks the status of all available VPN connections. .EXAMPLE PS> ./check-vpn .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz · License: CC0 + Author: Markus Fleschutz / License: CC0 #> try { diff --git a/Scripts/check-weather.ps1 b/Scripts/check-weather.ps1 index d842a6b5..60900133 100755 --- a/Scripts/check-weather.ps1 +++ b/Scripts/check-weather.ps1 @@ -2,7 +2,7 @@ .SYNOPSIS Checks the weather .DESCRIPTION - Checks the current weather report. + This PowerShell script checks the current weather report. .PARAMETER location Specifies the location to use (determined automatically per default) .EXAMPLE @@ -10,7 +10,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz · License: CC0 + Author: Markus Fleschutz / License: CC0 #> param([string]$location = "") # empty means determine automatically diff --git a/Scripts/check-week.ps1 b/Scripts/check-week.ps1 index 53415782..b4fc8d19 100644 --- a/Scripts/check-week.ps1 +++ b/Scripts/check-week.ps1 @@ -2,12 +2,12 @@ .SYNOPSIS Determines the week number .DESCRIPTION - This script determines and speaks the current week number by text-to-speech (TTS). + This PowerShell script determines and speaks the current week number by text-to-speech (TTS). .EXAMPLE PS> ./check-week ✔️ It's week #4. .NOTES - Author: Markus Fleschutz · License: CC0 + Author: Markus Fleschutz / License: CC0 .LINK https://github.com/fleschutz/PowerShell #> diff --git a/Scripts/check-wind.ps1 b/Scripts/check-wind.ps1 index d2330e2a..7c5da11c 100644 --- a/Scripts/check-wind.ps1 +++ b/Scripts/check-wind.ps1 @@ -2,7 +2,7 @@ .SYNOPSIS Checks the wind conditions .DESCRIPTION - Determines the current wind conditions and replies by text-to-speech (TTS). + This PowerShell script determines the current wind conditions and replies by text-to-speech (TTS). .PARAMETER location Specifies the location to use (determined automatically per default) .EXAMPLE @@ -10,7 +10,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz · License: CC0 + Author: Markus Fleschutz / License: CC0 #> param([string]$location = "") # empty means determine automatically diff --git a/Scripts/check-windows-system-files.ps1 b/Scripts/check-windows-system-files.ps1 index ade438e8..378689e3 100755 --- a/Scripts/check-windows-system-files.ps1 +++ b/Scripts/check-windows-system-files.ps1 @@ -2,14 +2,14 @@ .SYNOPSIS Checks the validity of the Windows system files (requires admin rights) .DESCRIPTION - This script checks the validity of the Windows system files. It requires admin rights. + This PowerShell script checks the validity of the Windows system files. It requires admin rights. .EXAMPLE PS> ./check-windows-system-files ✔️ checked Windows system files .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz · License: CC0 + Author: Markus Fleschutz / License: CC0 #> #Requires -RunAsAdministrator diff --git a/Scripts/check-xml-file.ps1 b/Scripts/check-xml-file.ps1 index 7f5d2b3c..39f58a60 100755 --- a/Scripts/check-xml-file.ps1 +++ b/Scripts/check-xml-file.ps1 @@ -2,16 +2,16 @@ .SYNOPSIS Checks the given XML file for validity .DESCRIPTION - This script checks the given XML file for validity. + This PowerShell script checks the given XML file for validity. .PARAMETER file Specifies the path to the XML file to check .EXAMPLE PS> ./check-xml-file myfile.xml ✔️ XML file is valid -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> param([string]$file = "") diff --git a/Scripts/clean-repo.ps1 b/Scripts/clean-repo.ps1 index c3ed2e44..8db0028c 100755 --- a/Scripts/clean-repo.ps1 +++ b/Scripts/clean-repo.ps1 @@ -2,17 +2,17 @@ .SYNOPSIS Cleans a Git repository from untracked files (including submodules) .DESCRIPTION - This script cleans a Git repository from untracked files (including submodules). + This PowerShell script cleans a Git repository from untracked files (including submodules). .PARAMETER RepoDir Specifies the path to the Git repository .EXAMPLE PS> ./clean-repo C:\MyRepo 🧹 Cleaning from untracked files... ✔️ cleaned Git repository 📂C:\MyRepo in 0 sec -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> param([string]$RepoDir = "$PWD") diff --git a/Scripts/clean-repos.ps1 b/Scripts/clean-repos.ps1 index 6297ad89..0abffbe4 100755 --- a/Scripts/clean-repos.ps1 +++ b/Scripts/clean-repos.ps1 @@ -2,15 +2,15 @@ .SYNOPSIS Cleans all Git repositories in a folder from untracked files .DESCRIPTION - This script cleans all Git repositories in a folder from untracked files (including submodules). + This PowerShell script cleans all Git repositories in a folder from untracked files (including submodules). .PARAMETER ParentDir Specifies the path to the parent folder .EXAMPLE PS> ./clean-repos C:\MyRepos -.NOTES - Author: Markus Fleschutz / License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> param([string]$ParentDir = "$PWD") diff --git a/Scripts/clear-recycle-bin.ps1 b/Scripts/clear-recycle-bin.ps1 index ad29942e..8751f8d0 100755 --- a/Scripts/clear-recycle-bin.ps1 +++ b/Scripts/clear-recycle-bin.ps1 @@ -2,14 +2,14 @@ .SYNOPSIS Clears the recycle bin folder .DESCRIPTION - This script removes the content of the recycle bin folder permanently. - NOTE: this cannot be undo! + This PowerShell script removes the content of the recycle bin folder permanently. + IMPORTANT NOTE: this cannot be undo! .EXAMPLE PS> ./clear-recycle-bin -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> try { diff --git a/Scripts/clone-repos.ps1 b/Scripts/clone-repos.ps1 index d18f70eb..2182b594 100755 --- a/Scripts/clone-repos.ps1 +++ b/Scripts/clone-repos.ps1 @@ -2,15 +2,15 @@ .SYNOPSIS Clones well-known Git repositories into a folder .DESCRIPTION - This script clones well-known Git repositories into a folder. + This PowerShell script clones well-known Git repositories into a folder. .PARAMETER folder Specifies the target folder .EXAMPLE PS> ./clone-repos C:\Repos -.NOTES - Author: Markus Fleschutz / License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> param([string]$FolderPath = "$PWD") diff --git a/Scripts/close-calculator.ps1 b/Scripts/close-calculator.ps1 index 647f734d..f179cadf 100755 --- a/Scripts/close-calculator.ps1 +++ b/Scripts/close-calculator.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Closes the calculator application .DESCRIPTION - This script closes the calculator application gracefully. + This PowerShell script closes the calculator application gracefully. .EXAMPLE PS> ./close-calculator -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> TaskKill /im Calculator.exe /f /t diff --git a/Scripts/close-chrome.ps1 b/Scripts/close-chrome.ps1 index 79f5f76c..c0c5d570 100755 --- a/Scripts/close-chrome.ps1 +++ b/Scripts/close-chrome.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Closes the Chrome browser .DESCRIPTION - This script closes the Google Chrome Web browser gracefully. + This PowerShell script closes the Google Chrome Web browser gracefully. .EXAMPLE PS> ./close-chrome -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> & "$PSScriptRoot/close-program.ps1" "Google Chrome" "chrome" "chrome" diff --git a/Scripts/close-cortana.ps1 b/Scripts/close-cortana.ps1 index 48a365e5..3d5e50b7 100755 --- a/Scripts/close-cortana.ps1 +++ b/Scripts/close-cortana.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Closes Microsoft's Cortana application .DESCRIPTION - This script closes Microsoft's Cortana application gracefully. + This PowerShell script closes Microsoft's Cortana application gracefully. .EXAMPLE PS> ./close-cortana -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> & "$PSScriptRoot/close-program.ps1" "Cortana" "Cortana" "Cortana" diff --git a/Scripts/close-edge.ps1 b/Scripts/close-edge.ps1 index d06422c3..d343c3d1 100755 --- a/Scripts/close-edge.ps1 +++ b/Scripts/close-edge.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Closes the Edge browser .DESCRIPTION - This script closes the Microsoft Edge Web browser gracefully. + This PowerShell script closes the Microsoft Edge Web browser gracefully. .EXAMPLE PS> ./close-edge -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> TaskKill /im msedge.exe /f /t diff --git a/Scripts/close-file-explorer.ps1 b/Scripts/close-file-explorer.ps1 index df5eb1e9..109d316d 100755 --- a/Scripts/close-file-explorer.ps1 +++ b/Scripts/close-file-explorer.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Closes the File Explorer .DESCRIPTION - This script closes the Microsoft File Explorer application gracefully. + This PowerShell script closes the Microsoft File Explorer application gracefully. .EXAMPLE PS> ./close-file-explorer -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> (New-Object -ComObject Shell.Application).Windows() | %{$_.quit()} diff --git a/Scripts/close-firefox.ps1 b/Scripts/close-firefox.ps1 index f1963a63..3498d5ab 100755 --- a/Scripts/close-firefox.ps1 +++ b/Scripts/close-firefox.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Closes the Firefox browser .DESCRIPTION - This script closes the Mozilla Firefox Web browser gracefully. + This PowerShell script closes the Mozilla Firefox Web browser gracefully. .EXAMPLE PS> ./close-firefox -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> & "$PSScriptRoot/close-program.ps1" "Mozilla Firefox" "firefox" "firefox" diff --git a/Scripts/close-git-extensions.ps1 b/Scripts/close-git-extensions.ps1 index 12b09168..0f21fb0b 100644 --- a/Scripts/close-git-extensions.ps1 +++ b/Scripts/close-git-extensions.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Closes the Git Extensions app .DESCRIPTION - This script closes the Git Extensions application gracefully. + This PowerShell script closes the Git Extensions application gracefully. .EXAMPLE PS> ./close-git-extensions -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> TaskKill /im GitExtensions.exe diff --git a/Scripts/close-magnifier.ps1 b/Scripts/close-magnifier.ps1 index 94dd9d03..915024c6 100755 --- a/Scripts/close-magnifier.ps1 +++ b/Scripts/close-magnifier.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Closes the Magnifier .DESCRIPTION - This script closes the Windows Screen Magnifier application gracefully. + This PowerShell script closes the Windows Screen Magnifier application gracefully. .EXAMPLE PS> ./close-magnifier -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> tskill magnify diff --git a/Scripts/close-microsoft-paint.ps1 b/Scripts/close-microsoft-paint.ps1 index 43ee6b11..a9b80b84 100644 --- a/Scripts/close-microsoft-paint.ps1 +++ b/Scripts/close-microsoft-paint.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Closes the Microsoft Paint app .DESCRIPTION - This script closes the Microsoft Paint application gracefully. + This PowerShell script closes the Microsoft Paint application gracefully. .EXAMPLE PS> ./close-microsoft-paint -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> TaskKill /im mspaint.exe diff --git a/Scripts/close-microsoft-store.ps1 b/Scripts/close-microsoft-store.ps1 index b1c6150c..beb56c32 100755 --- a/Scripts/close-microsoft-store.ps1 +++ b/Scripts/close-microsoft-store.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Closes the Microsoft Store app .DESCRIPTION - This script closes the Microsoft Store application gracefully. + This PowerShell script closes the Microsoft Store application gracefully. .EXAMPLE PS> ./close-microsoft-store -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> TaskKill /im WinStore.App.exe /f /t diff --git a/Scripts/close-netflix.ps1 b/Scripts/close-netflix.ps1 index 5784b5f5..86d21291 100755 --- a/Scripts/close-netflix.ps1 +++ b/Scripts/close-netflix.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Closes the Netflix app .DESCRIPTION - This script closes the Netflix application gracefully. + This PowerShell script closes the Netflix application gracefully. .EXAMPLE PS> ./close-netflix -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> & "$PSScriptRoot/close-program.ps1" "Netflix" "ApplicationFrameHost" "RuntimeBroker" diff --git a/Scripts/close-note-pad.ps1 b/Scripts/close-note-pad.ps1 index f52f9323..3066f39e 100755 --- a/Scripts/close-note-pad.ps1 +++ b/Scripts/close-note-pad.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Closes the Notepad app .DESCRIPTION - This script closes the Notepad application gracefully. + This PowerShell script closes the Notepad application gracefully. .EXAMPLE PS> ./close-note-pad -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> & "$PSScriptRoot/close-program.ps1" "Notepad" "notepad" "notepad" diff --git a/Scripts/close-obs-studio.ps1 b/Scripts/close-obs-studio.ps1 index 7be81e21..5a6e141c 100644 --- a/Scripts/close-obs-studio.ps1 +++ b/Scripts/close-obs-studio.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Closes OBS Studio .DESCRIPTION - This script closes the OBS Studio application gracefully. + This PowerShell script closes the OBS Studio application gracefully. .EXAMPLE PS> ./close-obs-studio -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> TaskKill /im obs64.exe diff --git a/Scripts/close-one-calendar.ps1 b/Scripts/close-one-calendar.ps1 index a241dff3..c81a618b 100644 --- a/Scripts/close-one-calendar.ps1 +++ b/Scripts/close-one-calendar.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Closes the OneCalendar app .DESCRIPTION - This script closes the OneCalendar application gracefully. + This PowerShell script closes the OneCalendar application gracefully. .EXAMPLE PS> ./close-one-calendar -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> TaskKill /f /im CalendarApp.Gui.Win10.exe diff --git a/Scripts/close-outlook.ps1 b/Scripts/close-outlook.ps1 index 1bf604d1..9d99e82c 100644 --- a/Scripts/close-outlook.ps1 +++ b/Scripts/close-outlook.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Closes the Microsoft Outlook app .DESCRIPTION - This script closes the Microsoft Outlook email application gracefully. + This PowerShell script closes the Microsoft Outlook email application gracefully. .EXAMPLE PS> ./close-outlook -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> TaskKill /im outlook.exe diff --git a/Scripts/close-paint-three-d.ps1 b/Scripts/close-paint-three-d.ps1 index 14d111a5..9ea3e9cd 100644 --- a/Scripts/close-paint-three-d.ps1 +++ b/Scripts/close-paint-three-d.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Closes the Paint 3D app .DESCRIPTION - This script closes the Paint 3D application gracefully. + This PowerShell script closes the Paint 3D application gracefully. .EXAMPLE PS> ./close-paint-3d -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> TaskKill /im PaintStudio.View.exe /f diff --git a/Scripts/close-program.ps1 b/Scripts/close-program.ps1 index 0b2b3329..9e603d78 100755 --- a/Scripts/close-program.ps1 +++ b/Scripts/close-program.ps1 @@ -2,7 +2,7 @@ .SYNOPSIS Closes a program's processes .DESCRIPTION - This script closes a program's processes gracefully. + This PowerShell script closes a program's processes gracefully. .PARAMETER FullProgramName Specifies the full program name .PARAMETER ProgramName @@ -11,10 +11,10 @@ Specifies the program alias name .EXAMPLE PS> ./close-program "Google Chrome" "chrome.exe" -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> param([string]$FullProgramName = "", [string]$ProgramName = "", [string]$ProgramAliasName = "") diff --git a/Scripts/close-serenade.ps1 b/Scripts/close-serenade.ps1 index b4bde1f1..51d22f95 100755 --- a/Scripts/close-serenade.ps1 +++ b/Scripts/close-serenade.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Closes the Serenade.ai application .DESCRIPTION - This script closes the Serenade.ai application gracefully. + This PowerShell script closes the Serenade.ai application gracefully. .EXAMPLE PS> ./close-serenade -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> & "$PSScriptRoot/close-program.ps1" "Serenade.ai" "serenade" "" diff --git a/Scripts/close-snipping-tool.ps1 b/Scripts/close-snipping-tool.ps1 index 76be25e4..ad1693e5 100755 --- a/Scripts/close-snipping-tool.ps1 +++ b/Scripts/close-snipping-tool.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Closes the Snipping Tool .DESCRIPTION - This script closes the Snipping Tool application gracefully. + This PowerShell script closes the Snipping Tool application gracefully. .EXAMPLE PS> ./close-snipping-tool -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> & "$PSScriptRoot/close-program.ps1" "Snipping Tool" "SnippingTool.exe" "" diff --git a/Scripts/close-spotify.ps1 b/Scripts/close-spotify.ps1 index b7b5ee5d..ab4cad93 100755 --- a/Scripts/close-spotify.ps1 +++ b/Scripts/close-spotify.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Closes the Spotify app .DESCRIPTION - This script closes the Spotify application gracefully. + This PowerShell script closes the Spotify application gracefully. .EXAMPLE PS> ./close-spotify -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> & "$PSScriptRoot/close-program.ps1" "Spotify" "spotify" "" diff --git a/Scripts/close-task-manager.ps1 b/Scripts/close-task-manager.ps1 index ea570589..1b6e03e0 100755 --- a/Scripts/close-task-manager.ps1 +++ b/Scripts/close-task-manager.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Closes the Task Manager .DESCRIPTION - This script closes the Task Manager application gracefully. + This PowerShell script closes the Task Manager application gracefully. .EXAMPLE PS> ./close-task-manager -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> tskill taskmgr diff --git a/Scripts/close-three-d-viewer.ps1 b/Scripts/close-three-d-viewer.ps1 index 6a443278..22063bd1 100644 --- a/Scripts/close-three-d-viewer.ps1 +++ b/Scripts/close-three-d-viewer.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Closes the 3D-Viewer app .DESCRIPTION - This script closes the 3D-Viewer application gracefully. + This PowerShell script closes the 3D-Viewer application gracefully. .EXAMPLE PS> ./close-three-d-viewer -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> TaskKill /im 3DViewer.exe /f diff --git a/Scripts/close-thunderbird.ps1 b/Scripts/close-thunderbird.ps1 index ff99fd01..04d2396a 100644 --- a/Scripts/close-thunderbird.ps1 +++ b/Scripts/close-thunderbird.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Closes the Thunderbird app .DESCRIPTION - This script closes the Mozilla Thunderbird email application gracefully. + This PowerShell script closes the Mozilla Thunderbird email application gracefully. .EXAMPLE PS> ./close-thunderbird -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> TaskKill /im thunderbird.exe diff --git a/Scripts/close-visual-studio.ps1 b/Scripts/close-visual-studio.ps1 index 5303c06e..d545f19a 100644 --- a/Scripts/close-visual-studio.ps1 +++ b/Scripts/close-visual-studio.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Closes the Visual Studio app .DESCRIPTION - This script closes the Microsoft Visual Studio application gracefully. + This PowerShell script closes the Microsoft Visual Studio application gracefully. .EXAMPLE PS> ./close-visual-studio -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> TaskKill /im devenv.exe diff --git a/Scripts/close-vlc.ps1 b/Scripts/close-vlc.ps1 index 8fe02f16..cbc32a62 100755 --- a/Scripts/close-vlc.ps1 +++ b/Scripts/close-vlc.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Closes the VLC media player application .DESCRIPTION - This script closes the VLC media player application gracefully. + This PowerShell script closes the VLC media player application gracefully. .EXAMPLE PS> ./close-vlc -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> & "$PSScriptRoot/close-program.ps1" "VLC media player" "vlc" "vlc" diff --git a/Scripts/close-windows-terminal.ps1 b/Scripts/close-windows-terminal.ps1 index 40e4be12..560b44c8 100755 --- a/Scripts/close-windows-terminal.ps1 +++ b/Scripts/close-windows-terminal.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Closes the Windows Terminal app .DESCRIPTION - This script closes the Windows Terminal application gracefully. + This PowerShell script closes the Windows Terminal application gracefully. .EXAMPLE PS> ./close-windows-terminal -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> & "$PSScriptRoot/close-program.ps1" "Windows Terminal" "WindowsTerminal" "WindowsTerminal" diff --git a/Scripts/come-on.ps1 b/Scripts/come-on.ps1 index 6be86b13..bba2a75e 100644 --- a/Scripts/come-on.ps1 +++ b/Scripts/come-on.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Replies to "Come on" .DESCRIPTION - This script replies to 'Come on' by text-to-speech (TTS). + This PowerShell script replies to 'Come on' by text-to-speech (TTS). .EXAMPLE PS> ./come-on -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> $Reply = "I'm sorry.", "I'm so sorry.", "Mea culpa!" | Get-Random diff --git a/Scripts/configure-git.ps1 b/Scripts/configure-git.ps1 index 3c53f7d6..2e310ddc 100755 --- a/Scripts/configure-git.ps1 +++ b/Scripts/configure-git.ps1 @@ -2,7 +2,7 @@ .SYNOPSIS Configures the user settings for Git .DESCRIPTION - This script configures the user settings for Git. + This PowerShell script configures the user settings for Git. .PARAMETER FullName Specifies the user's full name .PARAMETER EmailAddress @@ -11,10 +11,10 @@ Specifies the user's favorite text editor .EXAMPLE PS> ./configure-git -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> param([string]$FullName = "", [string]$EmailAddress = "", [string]$FavoriteEditor = "") diff --git a/Scripts/connect-vpn.ps1 b/Scripts/connect-vpn.ps1 index ab81a23a..587a3fd9 100644 --- a/Scripts/connect-vpn.ps1 +++ b/Scripts/connect-vpn.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Connects to the VPN .DESCRIPTION - This script tries to connect to the VPN. + This PowerShell script tries to connect to the VPN. .EXAMPLE PS> ./connect-vpn .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz · License: CC0 + Author: Markus Fleschutz / License: CC0 #> try { diff --git a/Scripts/convert-csv2txt.ps1 b/Scripts/convert-csv2txt.ps1 index 9312e2e0..2e39dd1e 100755 --- a/Scripts/convert-csv2txt.ps1 +++ b/Scripts/convert-csv2txt.ps1 @@ -2,15 +2,15 @@ .SYNOPSIS Converts a .CSV file into a text file .DESCRIPTION - This script converts a .CSV file into a text file. + This PowerShell script converts a .CSV file into a text file. .PARAMETER Path Specifies the path to the .CSV file .EXAMPLE PS> ./convert-csv2txt salaries.csv -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> param([string]$Path = "") diff --git a/Scripts/convert-mysql2csv.ps1 b/Scripts/convert-mysql2csv.ps1 index 10035daf..85bbc4b5 100755 --- a/Scripts/convert-mysql2csv.ps1 +++ b/Scripts/convert-mysql2csv.ps1 @@ -2,7 +2,7 @@ .SYNOPSIS Convert a MySQL database table to a .CSV file .DESCRIPTION - This script converts a MySQL database table to a .CSV file. + This PowerShell script converts a MySQL database table to a .CSV file. .PARAMETER server Specifies the server's hostname or IP address .PARAMETER database @@ -15,10 +15,10 @@ Specifies the SQL query .EXAMPLE PS> ./convert-mysql2csv -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> diff --git a/Scripts/convert-ps2bat.ps1 b/Scripts/convert-ps2bat.ps1 index a930e690..23f73cdd 100644 --- a/Scripts/convert-ps2bat.ps1 +++ b/Scripts/convert-ps2bat.ps1 @@ -2,15 +2,15 @@ .SYNOPSIS Converts PowerShell scripts to batch files .DESCRIPTION - This script converts one or more PowerShell scripts to .bat batch files. + This PowerShell script converts one or more PowerShell scripts to .bat batch files. .PARAMETER Filepattern Specifies the file pattern .EXAMPLE PS> ./convert-ps2bat *.ps1 -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> param([string]$Filepattern = "") diff --git a/Scripts/convert-ps2md.ps1 b/Scripts/convert-ps2md.ps1 index a3faac4c..4768209a 100644 --- a/Scripts/convert-ps2md.ps1 +++ b/Scripts/convert-ps2md.ps1 @@ -2,15 +2,15 @@ .SYNOPSIS Converts the comment-based help of a PowerShell script to Markdown .DESCRIPTION - This script converts the comment-based help of a PowerShell script to Markdown. + This PowerShell script converts the comment-based help of a PowerShell script to Markdown. .PARAMETER filename Specifies the path to the PowerShell script .EXAMPLE PS> ./convert-ps2md myscript.ps1 -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> param([string]$filename = "") diff --git a/Scripts/convert-sql2csv.ps1 b/Scripts/convert-sql2csv.ps1 index c23c41f3..c23689bb 100755 --- a/Scripts/convert-sql2csv.ps1 +++ b/Scripts/convert-sql2csv.ps1 @@ -2,7 +2,7 @@ .SYNOPSIS Converts a SQL database table to a .CSV file .DESCRIPTION - This script converts a SQL database table to a .CSV file. + This PowerShell script converts a SQL database table to a .CSV file. .PARAMETER server Specifies the server's hostname or IP address .PARAMETER database @@ -15,10 +15,10 @@ Specifies the SQL query .EXAMPLE PS> ./convert-sql2csv -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> param([string]$server = "", [string]$database = "", [string]$username = "", [string]$password = "", [string]$query = "") diff --git a/Scripts/convert-txt2wav.ps1 b/Scripts/convert-txt2wav.ps1 index bff97001..450f9266 100755 --- a/Scripts/convert-txt2wav.ps1 +++ b/Scripts/convert-txt2wav.ps1 @@ -2,17 +2,17 @@ .SYNOPSIS Converts text to a .WAV audio file .DESCRIPTION - This script converts text to a .WAV audio file. + This PowerShell script converts text to a .WAV audio file. .PARAMETER text Specifies the text to use .PARAMETER WavFile Specifies the path to the resulting WAV file .EXAMPLE PS> ./convert-txt2wav "Hello World" spoken.wav -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> param([string]$Text = "", [string]$WavFile = "") diff --git a/Scripts/copy-photos-sorted.ps1 b/Scripts/copy-photos-sorted.ps1 index ca15ce4d..ea1928b4 100755 --- a/Scripts/copy-photos-sorted.ps1 +++ b/Scripts/copy-photos-sorted.ps1 @@ -9,10 +9,10 @@ Specifies the path to the target folder .EXAMPLE PS> ./copy-photos-sorted D:\Mobile\DCIM C:\MyPhotoAlbum -.NOTES - Author: Markus Fleschutz / License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> param([string]$SourceDir = "", [string]$TargetDir = "") diff --git a/Scripts/decrypt-file.ps1 b/Scripts/decrypt-file.ps1 index f08ad6d3..2a704135 100755 --- a/Scripts/decrypt-file.ps1 +++ b/Scripts/decrypt-file.ps1 @@ -2,17 +2,17 @@ .SYNOPSIS Decrypts the given file .DESCRIPTION - This script decrypts the given file. + This PowerShell script decrypts the given file. .PARAMETER Path Specifies the path to the file to decrypt .PARAMETER Password Specifies the password .EXAMPLE PS> ./decrypt-file-rules C:\MyFile.txt "123" -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> param([string]$Path = "", [string]$Password = "") diff --git a/Scripts/display-time.ps1 b/Scripts/display-time.ps1 index 174bc703..4c16e2a7 100755 --- a/Scripts/display-time.ps1 +++ b/Scripts/display-time.ps1 @@ -2,15 +2,15 @@ .SYNOPSIS Displays the current time .DESCRIPTION - Displays the current time (for 10 seconds by default) + This PowerShell script displays the current time (for 10 seconds by default) .PARAMETER Seconds Specifies the number of seconds to display the time .EXAMPLE PS> ./display-time -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> param([int]$Seconds = 10) diff --git a/Scripts/download-dir.ps1 b/Scripts/download-dir.ps1 index c13ace78..91eaaaab 100755 --- a/Scripts/download-dir.ps1 +++ b/Scripts/download-dir.ps1 @@ -2,15 +2,15 @@ .SYNOPSIS Downloads a folder (including subfolders) from an URL .DESCRIPTION - This script downloads a folder (including subfolders) from the given URL. + This PowerShell script downloads a folder (including subfolders) from the given URL. .PARAMETER URL Specifies the URL where to download from .EXAMPLE PS> ./download-dir https://www.cnn.com -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> param([string]$URL = "") diff --git a/Scripts/download-file.ps1 b/Scripts/download-file.ps1 index 688235b7..f89a5bae 100755 --- a/Scripts/download-file.ps1 +++ b/Scripts/download-file.ps1 @@ -2,15 +2,15 @@ .SYNOPSIS Downloads a file from an URL .DESCRIPTION - This script downloads a file from the given URL + This PowerShell script downloads a file from the given URL .PARAMETER URL Specifies the URL where to download from .EXAMPLE PS> ./download-file https://www.cnn.com/index.html -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> param([string]$URL = "") diff --git a/Scripts/edit.ps1 b/Scripts/edit.ps1 index fa1c002b..1fd3f8fa 100755 --- a/Scripts/edit.ps1 +++ b/Scripts/edit.ps1 @@ -2,15 +2,15 @@ .SYNOPSIS Opens an editor to edit a file .DESCRIPTION - Opens a text editor to edit the given file. + This PowerShell script opens a text editor to edit the given file. .PARAMETER Filename Specifies the path to the filename .EXAMPLE PS> ./edit C:\MyFile.txt -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> param([string]$Filename = "") diff --git a/Scripts/enable-crash-dumps.ps1 b/Scripts/enable-crash-dumps.ps1 index 036efccb..ab070fa7 100755 --- a/Scripts/enable-crash-dumps.ps1 +++ b/Scripts/enable-crash-dumps.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Enables the writing of crash dumps .DESCRIPTION - Enables the writing of crash dumps. + This PowerShell script enables the writing of crash dumps. .EXAMPLE PS> ./enable-crash-dumps -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> ################################################################## diff --git a/Scripts/enable-god-mode.ps1 b/Scripts/enable-god-mode.ps1 index 2fafb462..e897cf28 100755 --- a/Scripts/enable-god-mode.ps1 +++ b/Scripts/enable-god-mode.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Enables the god mode .DESCRIPTION - This script enables the god mode. It adds a new icon to the desktop. + This PowerShell script enables the god mode. It adds a new icon to the desktop. .EXAMPLE PS> ./enable-god-mode -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> try { diff --git a/Scripts/encrypt-file.ps1 b/Scripts/encrypt-file.ps1 index c48ddc6a..1c6508fa 100755 --- a/Scripts/encrypt-file.ps1 +++ b/Scripts/encrypt-file.ps1 @@ -2,17 +2,17 @@ .SYNOPSIS Encrypts a file .DESCRIPTION - This script encrypts the given file. + This PowerShell script encrypts the given file. .PARAMETER Path Specifies the path to the file to encrypt .PARAMETER Password Specifies the password to use .EXAMPLE PS> ./encrypt-file C:\MyFile.txt "123" -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> param([string]$Path = "", [string]$Password = "") diff --git a/Scripts/enter-chat.ps1 b/Scripts/enter-chat.ps1 index 52799394..8bb05b7b 100644 --- a/Scripts/enter-chat.ps1 +++ b/Scripts/enter-chat.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Enters a chat using a common network shared file .DESCRIPTION - This script enters a chat using a common network shared file. + This PowerShell script enters a chat using a common network shared file. .EXAMPLE PS> ./enter-chat -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz · License: CC0 #> # make sure you adjust this path diff --git a/Scripts/export-to-manuals.ps1 b/Scripts/export-to-manuals.ps1 index 8fc98354..866c56e0 100755 --- a/Scripts/export-to-manuals.ps1 +++ b/Scripts/export-to-manuals.ps1 @@ -2,15 +2,15 @@ .SYNOPSIS Exports all scripts as manuals .DESCRIPTION - This script exports the comment based help of all PowerShell scripts as manuals. + This PowerShell script exports the comment based help of all PowerShell scripts as manuals. .EXAMPLE PS> ./export-to-manuals.ps1 Found 264 scripts, exporting them to /home/markus/PowerShell/Docs... ✔️ exported 264 PowerShell scripts in 28 sec -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> #requires -version 2 diff --git a/Scripts/export-to-serenade.ps1 b/Scripts/export-to-serenade.ps1 index 97ce7a45..aef488ea 100755 --- a/Scripts/export-to-serenade.ps1 +++ b/Scripts/export-to-serenade.ps1 @@ -2,7 +2,7 @@ .SYNOPSIS Exports scripts to Serenade .DESCRIPTION - This script exports all PowerShell scripts to Serenade to execute them by voice. + This PowerShell script exports all scripts to Serenade to execute them by voice. .PARAMETER WakeWord Specifies the wake word (none by default) .PARAMETER FilePattern @@ -16,10 +16,10 @@ ⏳ Found 534 PowerShell scripts... ⏳ Writing custom JavaScript file: C:\Users\Markus\.serenade\scripts\PowerShell.js... ✔️ Exported to Serenade with wake word "Computer" in 3 sec -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> #requires -version 2 diff --git a/Scripts/fetch-repo.ps1 b/Scripts/fetch-repo.ps1 index 895b8834..fbfa45f2 100755 --- a/Scripts/fetch-repo.ps1 +++ b/Scripts/fetch-repo.ps1 @@ -1,18 +1,18 @@ <# .SYNOPSIS - Fetches updates for a local Git repository (including submodules) + Fetches updates for a Git repository .DESCRIPTION - This script fetches updates for a local Git repository (including submodules). + This PowerShell script fetches updates for a local Git repository (including submodules). .PARAMETER RepoDir Specifies the path to the Git repository. .EXAMPLE PS> ./fetch-repo 🢃 Fetching updates... ✔️ fetched updates for Git repository 📂PowerShell in 14 sec -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> param([string]$RepoDir = "$PWD") diff --git a/Scripts/fetch-repos.ps1 b/Scripts/fetch-repos.ps1 index 61e31216..43522ce8 100755 --- a/Scripts/fetch-repos.ps1 +++ b/Scripts/fetch-repos.ps1 @@ -2,15 +2,15 @@ .SYNOPSIS Fetches updates for all Git repositories in a folder .DESCRIPTION - This script fetches updates for all Git repositories in a folder (including submodules). + This PowerShell script fetches updates for all Git repositories in a folder (including submodules). .PARAMETER ParentDir Specifies the path to the parent folder .EXAMPLE PS> ./fetch-repos C:\MyRepos -.NOTES - Author: Markus Fleschutz / License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> param([string]$ParentDir = "$PWD") diff --git a/Scripts/get-md5.ps1 b/Scripts/get-md5.ps1 index 46b773d7..609e12f4 100755 --- a/Scripts/get-md5.ps1 +++ b/Scripts/get-md5.ps1 @@ -2,15 +2,15 @@ .SYNOPSIS Prints the MD5 checksum of a file .DESCRIPTION - This script calculates and prints the MD5 checksum of the given file. + This PowerShell script calculates and prints the MD5 checksum of the given file. .PARAMETER file Specifies the path to the file .EXAMPLE PS> ./get-md5 C:\MyFile.txt -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> param([string]$file = "") diff --git a/Scripts/get-sha1.ps1 b/Scripts/get-sha1.ps1 index 1d28b045..5f024adc 100755 --- a/Scripts/get-sha1.ps1 +++ b/Scripts/get-sha1.ps1 @@ -2,15 +2,15 @@ .SYNOPSIS Prints the SHA1 checksum of a file .DESCRIPTION - This script calculates and prints the SHA1 checksum of the given file. + This PowerShell script calculates and prints the SHA1 checksum of the given file. .PARAMETER file Specifies the path to the file .EXAMPLE PS> ./get-sha1 C:\MyFile.txt -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> param([string]$file = "") diff --git a/Scripts/get-sha256.ps1 b/Scripts/get-sha256.ps1 index e42ea389..f44ccff2 100755 --- a/Scripts/get-sha256.ps1 +++ b/Scripts/get-sha256.ps1 @@ -2,15 +2,15 @@ .SYNOPSIS Prints the SHA256 checksum of a file .DESCRIPTION - This script calculates and prints the SHA256 checksum of the given file. + This PowerShell script calculates and prints the SHA256 checksum of the given file. .PARAMETER file Specifies the path to the file .EXAMPLE PS> ./get-sha256 C:\MyFile.txt -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> param([string]$file = "") diff --git a/Scripts/give-me-five.ps1 b/Scripts/give-me-five.ps1 index 4486b385..cb290f97 100644 --- a/Scripts/give-me-five.ps1 +++ b/Scripts/give-me-five.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Replies to "Give me five" .DESCRIPTION - This script replies to 'Give me five' by text-to-speech (TTS). + This PowerShell script replies to 'Give me five' by text-to-speech (TTS). .EXAMPLE PS> ./give-me-five -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> $Reply = "Thanks!", "Hi five.", "Hi five to all of yours.", "Four plus one.", "Three plus two." | Get-Random diff --git a/Scripts/give-reply.ps1 b/Scripts/give-reply.ps1 index fa5ee09f..d55520f6 100644 --- a/Scripts/give-reply.ps1 +++ b/Scripts/give-reply.ps1 @@ -2,15 +2,15 @@ .SYNOPSIS Gives a reply .DESCRIPTION - This script gives a reply in English on the console and by text-to-speech (TTS). + This PowerShell script gives a reply in English on the console and by text-to-speech (TTS). .PARAMETER text Specifies the text to speak .EXAMPLE PS> ./give-reply "Hello World" -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> param([string]$text = "") diff --git a/Scripts/hibernate.ps1 b/Scripts/hibernate.ps1 index e64230ec..c2532fae 100755 --- a/Scripts/hibernate.ps1 +++ b/Scripts/hibernate.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Enables hibernate mode for the local computer (needs admin rights) .DESCRIPTION - This script enables hibernate mode for the local computer. It needs admin rights. + This PowerShell script enables hibernate mode for the local computer. It needs admin rights. .EXAMPLE PS> ./hibernate -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> #Requires -RunAsAdministrator diff --git a/Scripts/inspect-exe.ps1 b/Scripts/inspect-exe.ps1 index 876b7e93..b42f924d 100755 --- a/Scripts/inspect-exe.ps1 +++ b/Scripts/inspect-exe.ps1 @@ -2,15 +2,15 @@ .SYNOPSIS Prints basic information of an executable file .DESCRIPTION - This script prints basic information of an executable file. + This PowerShell script prints basic information of an executable file. .PARAMETER PathToExe Specifies the path to the executable file .EXAMPLE PS> ./inspect-exe C:\MyApp.exe -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> param([string]$PathToExe = "") diff --git a/Scripts/install-chrome-browser.ps1 b/Scripts/install-chrome-browser.ps1 index 350244f5..df1a6892 100755 --- a/Scripts/install-chrome-browser.ps1 +++ b/Scripts/install-chrome-browser.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Installs the Chrome browser .DESCRIPTION - This script installs the latest Google Chrome Web browser. + This PowerShell script installs the latest Google Chrome Web browser. .EXAMPLE PS> ./install-chrome-browser -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> try { diff --git a/Scripts/install-github-cli.ps1 b/Scripts/install-github-cli.ps1 index 85553b0c..f5fa5ba6 100644 --- a/Scripts/install-github-cli.ps1 +++ b/Scripts/install-github-cli.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Installs GitHub CLI .DESCRIPTION - This script installs GitHub command-line interface (CLI). + This PowerShell script installs GitHub command-line interface (CLI). .EXAMPLE PS> ./install-github-cli -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> try { diff --git a/Scripts/install-knot-resolver.ps1 b/Scripts/install-knot-resolver.ps1 index 5bdd0527..7d279118 100644 --- a/Scripts/install-knot-resolver.ps1 +++ b/Scripts/install-knot-resolver.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Installs Knot Resolver (needs admin rights) .DESCRIPTION - This script installs Knot Resolver. Knot Resolver is a DNS resolver daemon. It needs admin rights. + This PowerShell script installs Knot Resolver. Knot Resolver is a DNS resolver daemon. It needs admin rights. .EXAMPLE PS> ./install-knot-resolver -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> #Requires -RunAsAdministrator diff --git a/Scripts/install-obs-studio.ps1 b/Scripts/install-obs-studio.ps1 index d63d40b6..49d3573b 100755 --- a/Scripts/install-obs-studio.ps1 +++ b/Scripts/install-obs-studio.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Installs OBS Studio (needs admin rights) .DESCRIPTION - This script installs OBS Studio (admin rights are needed). + This PowerShell script installs OBS Studio (admin rights are needed). .EXAMPLE PS> ./install-obs-studio -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> #Requires -RunAsAdministrator diff --git a/Scripts/install-signal-cli.ps1 b/Scripts/install-signal-cli.ps1 index 650d5b32..ce35fcbd 100755 --- a/Scripts/install-signal-cli.ps1 +++ b/Scripts/install-signal-cli.ps1 @@ -2,15 +2,16 @@ .SYNOPSIS Installs signal-cli .DESCRIPTION - Installs signal-cli from github.com/AsamK/signal-cli. See the Web page for the correct version number. + This PowerShell script installs signal-cli from github.com/AsamK/signal-cli. + See the Web page for the correct version number. .PARAMETER Version Specifies the version to install .EXAMPLE PS> ./install-signal-cli 0.11.12 -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> param([string]$Version = "") diff --git a/Scripts/install-ssh-client.ps1 b/Scripts/install-ssh-client.ps1 index cfb40b38..1de46205 100755 --- a/Scripts/install-ssh-client.ps1 +++ b/Scripts/install-ssh-client.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Installs the SSH client (needs admin rights) .DESCRIPTION - This script installs the SSH client (needs admin rights). + This PowerShell script installs the SSH client (needs admin rights). .EXAMPLE PS> ./install-ssh-client -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> #Requires -RunAsAdministrator diff --git a/Scripts/install-ssh-server.ps1 b/Scripts/install-ssh-server.ps1 index 829705ac..90964e05 100755 --- a/Scripts/install-ssh-server.ps1 +++ b/Scripts/install-ssh-server.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Installs the SSH server (needs admin rights) .DESCRIPTION - This script installs the SSH server (needs admin rights). + This PowerShell script installs the SSH server (needs admin rights). .EXAMPLE PS> ./install-ssh-server -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> #Requires -RunAsAdministrator diff --git a/Scripts/install-updates.ps1 b/Scripts/install-updates.ps1 index ebec5d5c..0e58f298 100755 --- a/Scripts/install-updates.ps1 +++ b/Scripts/install-updates.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Installs updates for the local machine (needs admin rights) .DESCRIPTION - This script installs updates for the local machine (needs admin rights). + This PowerShell script installs updates for the local machine (needs admin rights). .EXAMPLE PS> ./install-updates -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> #Requires -RunAsAdministrator diff --git a/Scripts/install-wsl.ps1 b/Scripts/install-wsl.ps1 index 734be662..801d949b 100755 --- a/Scripts/install-wsl.ps1 +++ b/Scripts/install-wsl.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Installs Windows Subsystem for Linux (needs admin rights) .DESCRIPTION - This script installs Windows Subsystem for Linux. It needs admin rights. + This PowerShell script installs Windows Subsystem for Linux. It needs admin rights. .EXAMPLE PS> ./install-wsl -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> #Requires -RunAsAdministrator diff --git a/Scripts/introduce-powershell.ps1 b/Scripts/introduce-powershell.ps1 index edd2e171..b2bf2dfc 100755 --- a/Scripts/introduce-powershell.ps1 +++ b/Scripts/introduce-powershell.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Introduces PowerShell to new users .DESCRIPTION - This script introduces PowerShell to new users. + This PowerShell script introduces PowerShell to new users. .EXAMPLE PS> ./introduce-powershell -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> try { diff --git a/Scripts/list-aliases.ps1 b/Scripts/list-aliases.ps1 index df8d50e1..08c77fbb 100755 --- a/Scripts/list-aliases.ps1 +++ b/Scripts/list-aliases.ps1 @@ -2,7 +2,7 @@ .SYNOPSIS Lists all PowerShell aliases .DESCRIPTION - This scripts lists all PowerShell aliases. + This PowerShell scripts lists all PowerShell aliases. .EXAMPLE PS> ./list-aliases @@ -11,10 +11,10 @@ Alias CFS -> ConvertFrom-String 3.1.0.0 Microsoft.PowerShell.Utility Alias fhx -> Format-Hex 3.1.0.0 Microsoft.PowerShell.Utility ... -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> try { diff --git a/Scripts/list-anagrams.ps1 b/Scripts/list-anagrams.ps1 index c5831818..f2a60fa2 100755 --- a/Scripts/list-anagrams.ps1 +++ b/Scripts/list-anagrams.ps1 @@ -2,17 +2,17 @@ .SYNOPSIS Lists all anagrams of the given word .DESCRIPTION - This script lists all anagrams of the given word. + This PowerShell script lists all anagrams of the given word. .PARAMETER Word Specifies the word to use .PARAMETER Columns Specifies the number of columns .EXAMPLE PS> ./list-anagrams Baby -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> param([string]$Word = "", [int]$Columns = 8) diff --git a/Scripts/list-automatic-variables.ps1 b/Scripts/list-automatic-variables.ps1 index ff556275..82bd9c66 100755 --- a/Scripts/list-automatic-variables.ps1 +++ b/Scripts/list-automatic-variables.ps1 @@ -2,7 +2,7 @@ .SYNOPSIS Lists all automatic variables of PowerShell .DESCRIPTION - This script lists all automatic variables of PowerShell. + This PowerShell script lists all automatic variables of PowerShell. .EXAMPLE PS> ./list-automatic-variables @@ -11,10 +11,10 @@ $false False $HOME C:\Users\Markus ... -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> function AddItem { param([string]$Variable, [string]$Content) diff --git a/Scripts/list-bluetooth-devices.ps1 b/Scripts/list-bluetooth-devices.ps1 index c62d1635..cd6a2c09 100755 --- a/Scripts/list-bluetooth-devices.ps1 +++ b/Scripts/list-bluetooth-devices.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Lists all Bluetooth devices .DESCRIPTION - This script lists all Bluetooth devices. + This PowerShell script lists all Bluetooth devices. .EXAMPLE PS> ./list-bluetooth-devices -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> try { diff --git a/Scripts/list-branches.ps1 b/Scripts/list-branches.ps1 index c9f11161..f635fd96 100755 --- a/Scripts/list-branches.ps1 +++ b/Scripts/list-branches.ps1 @@ -2,17 +2,17 @@ .SYNOPSIS Lists all branches in a Git repository .DESCRIPTION - This script lists all branches in a Git repository. + This PowerShell script lists all branches in a Git repository. .PARAMETER RepoDir Specifies the path to the Git repository (current working directory by default) .PARAMETER SearchPattern Specifies the search patter (anything by default) .EXAMPLE PS> ./list-branches -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> param([string]$RepoDir = "$PWD", [string]$SearchPattern = "*") diff --git a/Scripts/list-cheat-sheet.ps1 b/Scripts/list-cheat-sheet.ps1 index 76ac34b9..556bf2ab 100755 --- a/Scripts/list-cheat-sheet.ps1 +++ b/Scripts/list-cheat-sheet.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Lists the PowerShell cheat sheet .DESCRIPTION - This script lists the PowerShell cheat sheet. + This PowerShell script lists the PowerShell cheat sheet. .EXAMPLE PS> ./list-cheat-sheet -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> "PowerShell Cheat Sheet" diff --git a/Scripts/list-city-weather.ps1 b/Scripts/list-city-weather.ps1 index dbc4ce33..29b57d07 100755 --- a/Scripts/list-city-weather.ps1 +++ b/Scripts/list-city-weather.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Lists current weather of cities world-wide .DESCRIPTION - This script lists the current weather of cities world-wide (west to east). + This PowerShell script lists the current weather of cities world-wide (west to east). .EXAMPLE PS> ./list-city-weather -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> $Cities="Hawaii","Los Angeles","Mexico City","Miami","New York","Rio de Janeiro","Paris","London","Berlin","Cape Town","Dubai","Mumbai","Singapore","Hong Kong","Peking","Tokyo","Sydney" diff --git a/Scripts/list-cli-tools.ps1 b/Scripts/list-cli-tools.ps1 index 499c70a9..23b052c6 100755 --- a/Scripts/list-cli-tools.ps1 +++ b/Scripts/list-cli-tools.ps1 @@ -2,7 +2,7 @@ .SYNOPSIS Lists available command-line interface (CLI) tools .DESCRIPTION - This script lists available command-line interface (CLI) tools. + This PowerShell script lists available command-line interface (CLI) tools. .EXAMPLE PS> ./list-cli-tools @@ -11,10 +11,10 @@ at 10.0.19041.1 C:\WINDOWS\system32\at.exe 31232 attrib 10.0.19041.1 C:\WINDOWS\system32\attrib.exe 23040 ... -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> function CheckFor { param([string]$Cmd, [string]$VersionArg) diff --git a/Scripts/list-clipboard.ps1 b/Scripts/list-clipboard.ps1 index be9f4b67..277bceb8 100755 --- a/Scripts/list-clipboard.ps1 +++ b/Scripts/list-clipboard.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Lists the contents of the clipboard .DESCRIPTION - This script lists the contents of the clipboard. + This PowerShell script lists the contents of the clipboard. .EXAMPLE PS> ./list-clipboard -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> try { diff --git a/Scripts/list-cmdlets.ps1 b/Scripts/list-cmdlets.ps1 index 2fe01938..8901963d 100755 --- a/Scripts/list-cmdlets.ps1 +++ b/Scripts/list-cmdlets.ps1 @@ -2,7 +2,7 @@ .SYNOPSIS Lists all PowerShell cmdlets .DESCRIPTION - This script lists all PowerShell cmdlets. + This PowerShell script lists all PowerShell cmdlets. .EXAMPLE PS> ./list-cmdlets @@ -11,10 +11,10 @@ Function Add-BCDataCacheExtension 1.0.0.0 BranchCache Function Add-BitLockerKeyProtector 1.0.0.0 BitLocker ... -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> try { diff --git a/Scripts/list-commits.ps1 b/Scripts/list-commits.ps1 index 56abafc3..12d88f5a 100755 --- a/Scripts/list-commits.ps1 +++ b/Scripts/list-commits.ps1 @@ -2,7 +2,7 @@ .SYNOPSIS Lists all commits in a Git repository .DESCRIPTION - This script lists all commits in a Git repository. Supported output formats are: list, compact, normal or JSON. + This PowerShell script lists all commits in a Git repository. Supported output formats are: list, compact, normal or JSON. .PARAMETER RepoDir Specifies the path to the Git repository. .PARAMETER Format @@ -15,10 +15,10 @@ ccd0d3e Wed Sep 29 08:28:20 2021 +0200 Markus Fleschutz Fix typo 291d785 Wed Sep 29 08:18:28 2021 +0200 Markus Fleschutz Update README.md ... -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> param([string]$RepoDir = "$PWD", [string]$Format = "list") diff --git a/Scripts/list-console-colors.ps1 b/Scripts/list-console-colors.ps1 index f359276e..4ea8088b 100755 --- a/Scripts/list-console-colors.ps1 +++ b/Scripts/list-console-colors.ps1 @@ -2,17 +2,17 @@ .SYNOPSIS Lists all console colors .DESCRIPTION - This script lists all available console colors. + This PowerShell script lists all available console colors. .EXAMPLE PS> ./list-console-colors Color As Foreground As Background ----- ------------- ------------- ... -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> try { diff --git a/Scripts/list-countries.ps1 b/Scripts/list-countries.ps1 index 5f47e61a..b0ce974f 100644 --- a/Scripts/list-countries.ps1 +++ b/Scripts/list-countries.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Lists details of all countries .DESCRIPTION - This script lists details of all countries. + This PowerShell script lists details of all countries. .EXAMPLE PS> ./list-countries -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> function ListCountries { diff --git a/Scripts/list-credits.ps1 b/Scripts/list-credits.ps1 index b1b02e8e..b07e4be6 100755 --- a/Scripts/list-credits.ps1 +++ b/Scripts/list-credits.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Shows the credits for the PowerShell Scripts .DESCRIPTION - This script shows the credits for the PowerShell Scripts. + This PowerShell script shows the credits for the PowerShell Scripts. .EXAMPLE PS> ./list-credits -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> try { diff --git a/Scripts/list-crypto-rates.ps1 b/Scripts/list-crypto-rates.ps1 index 4dde4725..5c690c9a 100644 --- a/Scripts/list-crypto-rates.ps1 +++ b/Scripts/list-crypto-rates.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Lists the current crypto exchange rates .DESCRIPTION - This script lists the current crypto exchange rates. + This PowerShell script lists the current crypto exchange rates. .EXAMPLE PS> ./list-crypto-rates -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> function ListCryptoRate { param([string]$Symbol, [string]$Name) diff --git a/Scripts/list-dir-tree.ps1 b/Scripts/list-dir-tree.ps1 index 79d69cef..26a52a5d 100755 --- a/Scripts/list-dir-tree.ps1 +++ b/Scripts/list-dir-tree.ps1 @@ -2,15 +2,15 @@ .SYNOPSIS Lists the full directory tree .DESCRIPTION - This script lists the full directory tree. + This PowerShell script lists the full directory tree. .PARAMETER DirTree Specifies the path to the directory tree .EXAMPLE PS> ./list-dir-tree C:\ -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> param([string]$DirTree = "$PWD") diff --git a/Scripts/list-drives.ps1 b/Scripts/list-drives.ps1 index a0fdad5b..2369d46f 100755 --- a/Scripts/list-drives.ps1 +++ b/Scripts/list-drives.ps1 @@ -2,7 +2,7 @@ .SYNOPSIS Lists all local drives .DESCRIPTION - This script lists the details of all local drives. + This PowerShell script lists the details of all local drives. .EXAMPLE PS> ./list-drives @@ -10,10 +10,10 @@ ---- ---- --------- --------- C C:\ 76,1 35,0 D D:\ 6648,1 744,2 -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> try { diff --git a/Scripts/list-earthquakes.ps1 b/Scripts/list-earthquakes.ps1 index ac993236..45403aaa 100755 --- a/Scripts/list-earthquakes.ps1 +++ b/Scripts/list-earthquakes.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Lists major earthquakes since 30 days .DESCRIPTION - This script lists earthquakes with magnitude >= 6.0 for the last 30 days. + This PowerShell script lists earthquakes with magnitude >= 6.0 for the last 30 days. .EXAMPLE PS> ./list-earthquakes -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> $Format="csv" # csv, geojson, kml, text, xml diff --git a/Scripts/list-emojis.ps1 b/Scripts/list-emojis.ps1 index 698127cf..978ba06d 100644 --- a/Scripts/list-emojis.ps1 +++ b/Scripts/list-emojis.ps1 @@ -5,10 +5,10 @@ This PowerShell script lists the emojis of Unicode 13.0 sorted by category. .EXAMPLE PS> ./list-emojis -.NOTES - Author: Markus Fleschutz / License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> "Emojis by Category (Unicode 13.0)" diff --git a/Scripts/list-empty-dirs.ps1 b/Scripts/list-empty-dirs.ps1 index fd3ff6f3..e7b229f3 100755 --- a/Scripts/list-empty-dirs.ps1 +++ b/Scripts/list-empty-dirs.ps1 @@ -2,15 +2,15 @@ .SYNOPSIS Lists empty subfolders within a directory tree .DESCRIPTION - This script scans and lists all empty subfolders within the given directory tree. + This PowerShell script scans and lists all empty subfolders within the given directory tree. .PARAMETER DirTree Specifies the path to the directory tree .EXAMPLE PS> ./list-empty-dirs C:\ -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> param([string]$DirTree = "$PWD") diff --git a/Scripts/list-empty-files.ps1 b/Scripts/list-empty-files.ps1 index b2a0b41c..c0c37749 100755 --- a/Scripts/list-empty-files.ps1 +++ b/Scripts/list-empty-files.ps1 @@ -2,15 +2,15 @@ .SYNOPSIS Lists empty files within a directory tree .DESCRIPTION - This script scans and lists all empty files within the given directory tree. + This PowerShell script scans and lists all empty files within the given directory tree. .PARAMETER DirTree Specifies the path to the directory tree .EXAMPLE PS> ./list-empty-files C:\ -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> param([string]$DirTree = "") diff --git a/Scripts/list-environment-variables.ps1 b/Scripts/list-environment-variables.ps1 index be82be06..b353c516 100755 --- a/Scripts/list-environment-variables.ps1 +++ b/Scripts/list-environment-variables.ps1 @@ -2,7 +2,7 @@ .SYNOPSIS Lists all environment variables .DESCRIPTION - This script lists all environment variables. + This PowerShell script lists all environment variables. .EXAMPLE PS> ./list-environment-variables @@ -11,10 +11,10 @@ ALLUSERSPROFILE C:\ProgramData APPDATA C:\Users\Joe\AppData\Roaming ... -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> try { diff --git a/Scripts/list-exchange-rates.ps1 b/Scripts/list-exchange-rates.ps1 index 036240b9..9ae19c43 100644 --- a/Scripts/list-exchange-rates.ps1 +++ b/Scripts/list-exchange-rates.ps1 @@ -2,15 +2,15 @@ .SYNOPSIS Lists the exchange rates for a currency .DESCRIPTION - Lists the current exchange rates for the given currency (USD per default). + This PowerShell script lists the current exchange rates for the given currency (USD per default). .PARAMETER currency Specifies the base currency .EXAMPLE PS> ./list-exchange-rates EUR -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> param([string]$currency = "USD") diff --git a/Scripts/list-files.ps1 b/Scripts/list-files.ps1 index ee91fe1a..82ed110b 100755 --- a/Scripts/list-files.ps1 +++ b/Scripts/list-files.ps1 @@ -2,15 +2,15 @@ .SYNOPSIS Lists all files in a directory tree .DESCRIPTION - This script lists all files within the given directory tree. + This PowerShell script lists all files within the given directory tree. .PARAMETER DirTree Specifies the path to the directory tree .EXAMPLE PS> ./list-files C:\ -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> param([string]$DirTree = "") diff --git a/Scripts/list-folder.ps1 b/Scripts/list-folder.ps1 index 823eac75..3bf68882 100755 --- a/Scripts/list-folder.ps1 +++ b/Scripts/list-folder.ps1 @@ -2,15 +2,15 @@ .SYNOPSIS Lists the folder content .DESCRIPTION - This script lists the directory content formatted in columns. + This PowerShell script lists the directory content formatted in columns. .PARAMETER SearchPattern Specifies the search pattern, "*" by default (means anything) .EXAMPLE PS> ./list-folder C:\ -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> param([string]$SearchPattern = "*") diff --git a/Scripts/list-fritzbox-calls.ps1 b/Scripts/list-fritzbox-calls.ps1 index a36bc8a7..40035dff 100755 --- a/Scripts/list-fritzbox-calls.ps1 +++ b/Scripts/list-fritzbox-calls.ps1 @@ -2,17 +2,17 @@ .SYNOPSIS Lists the phone calls of the FRITZ!Box device .DESCRIPTION - This script lists the phone calls of the FRITZ!Box device. + This PowerShell script lists the phone calls of the FRITZ!Box device. .PARAMETER Username Specifies the user name for FRITZ!Box .PARAMETER Password Specifies the password to FRITZ!Box .EXAMPLE PS> ./list-fritzbox-calls -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> #Requires -Version 3 diff --git a/Scripts/list-fritzbox-devices.ps1 b/Scripts/list-fritzbox-devices.ps1 index 14c70cb1..84c0296d 100755 --- a/Scripts/list-fritzbox-devices.ps1 +++ b/Scripts/list-fritzbox-devices.ps1 @@ -2,17 +2,17 @@ .SYNOPSIS Lists FRITZ!Box's known devices .DESCRIPTION - This script lists FRITZ!Box's known devices. + This PowerShell script lists FRITZ!Box's known devices. .PARAMETER Username Specifies the user name to FRITZ!Box .PARAMETER Password Specifies the password to FRITZ!Box .EXAMPLE PS> ./list-fritzbox-devices -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> #Requires -Version 3 diff --git a/Scripts/list-hidden-files.ps1 b/Scripts/list-hidden-files.ps1 index f824c222..95e77a6a 100755 --- a/Scripts/list-hidden-files.ps1 +++ b/Scripts/list-hidden-files.ps1 @@ -2,15 +2,15 @@ .SYNOPSIS Lists hidden files in a directory tree .DESCRIPTION - This script scans and lists all hidden files in a directory tree. + This PowerShell script scans and lists all hidden files in a directory tree. .PARAMETER DirTree Specifies the path to the directory tree .EXAMPLE PS> ./list-hidden-files C:\ -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> param([string]$DirTree = "$PWD") diff --git a/Scripts/list-installed-apps.ps1 b/Scripts/list-installed-apps.ps1 index 01fc6613..211c7f1f 100755 --- a/Scripts/list-installed-apps.ps1 +++ b/Scripts/list-installed-apps.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Lists the installed apps .DESCRIPTION - This script lists the installed apps (from Windows Store or snaps). + This PowerShell script lists the installed apps (from Windows Store or snaps). .EXAMPLE PS> ./list-installed-apps -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> try { diff --git a/Scripts/list-installed-software.ps1 b/Scripts/list-installed-software.ps1 index 56744238..158453d3 100755 --- a/Scripts/list-installed-software.ps1 +++ b/Scripts/list-installed-software.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Lists the installed software .DESCRIPTION - This script lists the installed software (except Windows Store apps). + This PowerShell script lists the installed software (except Windows Store apps). .EXAMPLE PS> ./list-installed-software -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> try { diff --git a/Scripts/list-latest-tag.ps1 b/Scripts/list-latest-tag.ps1 index 615acbe5..16df229f 100755 --- a/Scripts/list-latest-tag.ps1 +++ b/Scripts/list-latest-tag.ps1 @@ -2,15 +2,15 @@ .SYNOPSIS Lists the latest tag on the current branch in a Git repository .DESCRIPTION - This script lists the latest tag on the current branch in a Git repository. + This PowerShell script lists the latest tag on the current branch in a Git repository. .PARAMETER RepoDir Specifies the path to the repository .EXAMPLE PS> ./list-latest-tag C:\MyRepo -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> param([string]$RepoDir = "$PWD") diff --git a/Scripts/list-latest-tags.ps1 b/Scripts/list-latest-tags.ps1 index c527aabb..8a4bd04f 100755 --- a/Scripts/list-latest-tags.ps1 +++ b/Scripts/list-latest-tags.ps1 @@ -2,15 +2,15 @@ .SYNOPSIS Lists the latests tags in all Git repositories in a folder .DESCRIPTION - This script lists the latest tags in all Git repositories in the specified folder. + This PowerShell script lists the latest tags in all Git repositories in the specified folder. .PARAMETER ParentDir Specifies the path to the parent folder .EXAMPLE PS> ./list-latest-tags C:\MyRepos -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> param([string]$ParentDir = "$PWD") diff --git a/Scripts/list-memos.ps1 b/Scripts/list-memos.ps1 index 3bdf4547..07999b9c 100755 --- a/Scripts/list-memos.ps1 +++ b/Scripts/list-memos.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Lists all memos in $HOME/Memos.csv .DESCRIPTION - This script lists all memo entries in Memos.csv in the home folder. + This PowerShell script lists all memo entries in Memos.csv in the home folder. .EXAMPLE PS> ./list-memos -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> diff --git a/Scripts/list-modules.ps1 b/Scripts/list-modules.ps1 index 30cc2553..ff441026 100755 --- a/Scripts/list-modules.ps1 +++ b/Scripts/list-modules.ps1 @@ -2,7 +2,7 @@ .SYNOPSIS Lists all PowerShell modules .DESCRIPTION - This script lists all installed PowerShell modules. + This PowerShell script lists all installed PowerShell modules. .EXAMPLE PS> ./list-modules @@ -10,10 +10,10 @@ ---------- ------- ---- ---------------- Manifest 3.1.0.0 Microsoft.PowerShell.Management {Add-Computer, Add-Content, Checkpoint-Computer...} Manifest 3.1.0.0 Microsoft.PowerShell.Utility {Add-Member, Add-Type, Clear-Variable...} -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> try { diff --git a/Scripts/list-mysql-tables.ps1 b/Scripts/list-mysql-tables.ps1 index 323618b1..9b4cc083 100755 --- a/Scripts/list-mysql-tables.ps1 +++ b/Scripts/list-mysql-tables.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Lists all tables of a MySQL database .DESCRIPTION - This script lists all tables of the given MySQL database. + This PowerShell script lists all tables of the given MySQL database. .EXAMPLE PS> ./list-mysql-tables -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> # This script lists all of the tables in a MySQL database and exports the list as a CSV diff --git a/Scripts/list-network-shares.ps1 b/Scripts/list-network-shares.ps1 index a5e1c283..e5d3b4f4 100755 --- a/Scripts/list-network-shares.ps1 +++ b/Scripts/list-network-shares.ps1 @@ -2,17 +2,17 @@ .SYNOPSIS Lists all network shares of the local computer .DESCRIPTION - This script lists all network shares of the local computer. + This PowerShell script lists all network shares of the local computer. .EXAMPLE PS> ./list-network-shares Name Path Description ---- ---- ----------- Users C:\Users -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> try { diff --git a/Scripts/list-news.ps1 b/Scripts/list-news.ps1 index 46e45acf..9e8e73d0 100755 --- a/Scripts/list-news.ps1 +++ b/Scripts/list-news.ps1 @@ -2,17 +2,17 @@ .SYNOPSIS Lists the latest news .DESCRIPTION - This script lists the latest RSS feed news. + This PowerShell script lists the latest RSS feed news. .PARAMETER RSS_URL Specifies the URL to the RSS feed .PARAMETER MaxCount Specifies the number of news to list .EXAMPLE PS> ./list-news -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> param([string]$RSS_URL = "https://yahoo.com/news/rss/world", [int]$MaxCount = 20) diff --git a/Scripts/list-os-releases.ps1 b/Scripts/list-os-releases.ps1 index cbc4ed6e..9a4cf2bb 100755 --- a/Scripts/list-os-releases.ps1 +++ b/Scripts/list-os-releases.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Lists OS releases and download URL .DESCRIPTION - This script lists OS releases and download URL. + This PowerShell script lists OS releases and download URL. .EXAMPLE PS> ./list-os-releases -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> try { diff --git a/Scripts/list-os-updates.ps1 b/Scripts/list-os-updates.ps1 index 334a6c6b..eb9a3a9d 100755 --- a/Scripts/list-os-updates.ps1 +++ b/Scripts/list-os-updates.ps1 @@ -2,17 +2,17 @@ .SYNOPSIS Lists the latest operating system updates .DESCRIPTION - This script lists the latest operating system update news. + This PowerShell script lists the latest operating system update news. .PARAMETER RSS_URL Specifies the URL to the RSS feed .PARAMETER MaxCount Specifies the number of news to list .EXAMPLE PS> ./list-os-updates -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> param([string]$RSS_URL = "https://distrowatch.com/news/dwd.xml", [int]$MaxCount = 20) diff --git a/Scripts/list-passwords.ps1 b/Scripts/list-passwords.ps1 index 942f6b4d..3da9aa18 100755 --- a/Scripts/list-passwords.ps1 +++ b/Scripts/list-passwords.ps1 @@ -2,7 +2,7 @@ .SYNOPSIS Lists random passwords .DESCRIPTION - This script lists random passwords. + This PowerShell script lists random passwords. .PARAMETER PasswordLength Specifies the length of the password .PARAMETER Columns @@ -11,10 +11,10 @@ Specifies the number of rows .EXAMPLE PS> ./list-passwords -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> param([int]$PasswordLength = 15, [int]$Columns = 6, [int]$Rows = 30) diff --git a/Scripts/list-pins.ps1 b/Scripts/list-pins.ps1 index f994eae1..6fe7270e 100755 --- a/Scripts/list-pins.ps1 +++ b/Scripts/list-pins.ps1 @@ -2,7 +2,7 @@ .SYNOPSIS Lists random PIN's .DESCRIPTION - This script lists random PIN's. + This PowerShell script lists random PIN's. .PARAMETER PinLength Specifies the PIN length .PARAMETER Columns @@ -11,10 +11,10 @@ Specifies the number of rows .EXAMPLE PS> ./list-pins -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> param([int]$PinLength = 5, [int]$Columns = 12, [int]$Rows = 30) diff --git a/Scripts/list-print-jobs.ps1 b/Scripts/list-print-jobs.ps1 index 013c3999..b217a0fb 100755 --- a/Scripts/list-print-jobs.ps1 +++ b/Scripts/list-print-jobs.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Lists all jobs of all printers .DESCRIPTION - This script lists all print jobs of all printer devices. + This PowerShell script lists all print jobs of all printer devices. .EXAMPLE PS> ./list-print-jobs -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> #Requires -Version 4 diff --git a/Scripts/list-printers.ps1 b/Scripts/list-printers.ps1 index 14d43351..8fd8be3d 100755 --- a/Scripts/list-printers.ps1 +++ b/Scripts/list-printers.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Lists all printers known to the local computer .DESCRIPTION - This script lists all printers known to the local computer. + This PowerShell script lists all printers known to the local computer. .EXAMPLE PS> ./list-printers -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> try { diff --git a/Scripts/list-processes.ps1 b/Scripts/list-processes.ps1 index dd6b6a3f..59135a24 100755 --- a/Scripts/list-processes.ps1 +++ b/Scripts/list-processes.ps1 @@ -2,7 +2,7 @@ .SYNOPSIS Lists all local computer processes .DESCRIPTION - This script lists all local computer processes. + This PowerShell script lists all local computer processes. .EXAMPLE PS> ./list-processes @@ -11,10 +11,10 @@ 9712 0,39% 64DriverLoad 2484 AppleMobileDeviceService ... -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> try { diff --git a/Scripts/list-profiles.ps1 b/Scripts/list-profiles.ps1 index a510e14b..5f4b4668 100755 --- a/Scripts/list-profiles.ps1 +++ b/Scripts/list-profiles.ps1 @@ -2,7 +2,7 @@ .SYNOPSIS Lists the user's PowerShell profiles .DESCRIPTION - This script lists the user's PowerShell profiles. + This PowerShell script lists the user's PowerShell profiles. .EXAMPLE PS> ./list-profiles @@ -12,10 +12,10 @@ 2 AllUsersCurrentHost /opt/PowerShell/Microsoft.PowerShell_profile.ps1 no 3 CurrentUserAllHosts /home/markus/.config/powershell/profile.ps1 no 4 CurrentUserCurrentHost /home/markus/.config/powershell/Microsoft.PowerShell_profile.ps1 yes -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> function ListProfile { param([int]$Level, [string]$Profile, [string]$Location) diff --git a/Scripts/list-recycle-bin.ps1 b/Scripts/list-recycle-bin.ps1 index 2dce2e30..69b6ae7c 100755 --- a/Scripts/list-recycle-bin.ps1 +++ b/Scripts/list-recycle-bin.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Lists the content of the recycle bin folder .DESCRIPTION - This script lists the content of the recycle bin folder. + This PowerShell script lists the content of the recycle bin folder. .EXAMPLE PS> ./list-recycle-bin -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> try { diff --git a/Scripts/list-repos.ps1 b/Scripts/list-repos.ps1 index 7cc6708a..360d1d6b 100644 --- a/Scripts/list-repos.ps1 +++ b/Scripts/list-repos.ps1 @@ -2,7 +2,7 @@ .SYNOPSIS Lists the details of all Git repositories in a folder .DESCRIPTION - This script lists the details of all Git repositories in the given folder. + This PowerShell script lists the details of all Git repositories in the given folder. .PARAMETER ParentDir Specifies the path to the parent folder. .EXAMPLE @@ -13,10 +13,10 @@ cmake main clean opencv master clean ... -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> param([string]$ParentDir = "$PWD") diff --git a/Scripts/list-scripts.ps1 b/Scripts/list-scripts.ps1 index 9adbb71f..179223f7 100755 --- a/Scripts/list-scripts.ps1 +++ b/Scripts/list-scripts.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Lists all PowerShell scripts in this repository .DESCRIPTION - This script lists all PowerShell scripts in the repository (sorted alphabetically). + This PowerShell script lists all PowerShell scripts in the repository (sorted alphabetically). .EXAMPLE PS> ./list-scripts -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> function ListScripts { param([string]$FilePath) diff --git a/Scripts/list-services.ps1 b/Scripts/list-services.ps1 index 67429b8a..dde52870 100755 --- a/Scripts/list-services.ps1 +++ b/Scripts/list-services.ps1 @@ -2,7 +2,7 @@ .SYNOPSIS Lists the local computer services .DESCRIPTION - This script lists all local computer services. + This PowerShell script lists all local computer services. .EXAMPLE PS> ./list-services @@ -11,10 +11,10 @@ Running AarSvc_886c2 Agent Activation Runtime_886c2 Running Apple Mobile De... Apple Mobile Device Service ... -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> try { diff --git a/Scripts/list-sql-tables.ps1 b/Scripts/list-sql-tables.ps1 index 7722f4a2..1b25d8fe 100755 --- a/Scripts/list-sql-tables.ps1 +++ b/Scripts/list-sql-tables.ps1 @@ -2,15 +2,15 @@ .SYNOPSIS Lists all tables of a SQL server database .DESCRIPTION - Lists all tables in a SQL server database and exports the list as CSV. + This PowerShell script 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 -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> param( diff --git a/Scripts/list-submodules.ps1 b/Scripts/list-submodules.ps1 index 54f3c3cc..ea869bcc 100644 --- a/Scripts/list-submodules.ps1 +++ b/Scripts/list-submodules.ps1 @@ -2,15 +2,15 @@ .SYNOPSIS Lists the submodules of a Git repository .DESCRIPTION - This script lists the submodules of the given Git repository. + This PowerShell script lists the submodules of the given Git repository. .PARAMETER RepoDir Specifies the path to the repository (current working dir by default) .EXAMPLE PS> ./list-submodules C:\MyRepo -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> param([string]$RepoDir = "$PWD") diff --git a/Scripts/list-system-info.ps1 b/Scripts/list-system-info.ps1 index ef85e185..fd25ee52 100755 --- a/Scripts/list-system-info.ps1 +++ b/Scripts/list-system-info.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Lists system information of the local computer .DESCRIPTION - This script lists system information of the local computer. + This PowerShell script lists system information of the local computer. .EXAMPLE PS> ./list-system-info -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> # RAM diff --git a/Scripts/list-tags.ps1 b/Scripts/list-tags.ps1 index f442ff10..fc6ccded 100755 --- a/Scripts/list-tags.ps1 +++ b/Scripts/list-tags.ps1 @@ -2,7 +2,7 @@ .SYNOPSIS Lists all tags in a Git repository .DESCRIPTION - This script lists all tags in the given Git repository. + This PowerShell script lists all tags in the given Git repository. .PARAMETER RepoDir Specifies the path to the Git repository .PARAMETER SearchPattern @@ -14,10 +14,10 @@ --- ----------- v0.1 Update README.md v0.2 Fix typo -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> param([string]$RepoDir = "$PWD", [string]$SearchPattern="*") diff --git a/Scripts/list-tasks.ps1 b/Scripts/list-tasks.ps1 index b46e7fd4..0ceb6f6a 100755 --- a/Scripts/list-tasks.ps1 +++ b/Scripts/list-tasks.ps1 @@ -2,7 +2,7 @@ .SYNOPSIS Lists all scheduled tasks .DESCRIPTION - This script lists all scheduled tasks. + This PowerShell script lists all scheduled tasks. .EXAMPLE PS> ./list-tasks @@ -11,10 +11,10 @@ .NET Framework NGEN v4.0.30319 Ready \Microsoft\Windows\.NET Framework\ .NET Framework NGEN v4.0.30319 64 Ready \Microsoft\Windows\.NET Framework\ ... -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> try { diff --git a/Scripts/list-timezone.ps1 b/Scripts/list-timezone.ps1 index 3b43695d..faaa49f1 100755 --- a/Scripts/list-timezone.ps1 +++ b/Scripts/list-timezone.ps1 @@ -2,7 +2,7 @@ .SYNOPSIS Lists the details of the current time zone .DESCRIPTION - This script lists the details of the current time zone. + This PowerShell script lists the details of the current time zone. .EXAMPLE PS> ./list-timezone @@ -12,10 +12,10 @@ DaylightName : Central European Summer Time BaseUtcOffset : 01:00:00 SupportsDaylightSavingTime : True -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> try { diff --git a/Scripts/list-timezones.ps1 b/Scripts/list-timezones.ps1 index d8048a99..3087e28f 100755 --- a/Scripts/list-timezones.ps1 +++ b/Scripts/list-timezones.ps1 @@ -2,7 +2,7 @@ .SYNOPSIS Lists all available time zones .DESCRIPTION - This script lists all available time zones. + This PowerShell script lists all available time zones. .EXAMPLE PS> ./list-timezones @@ -12,10 +12,10 @@ Hawaiian Standard Time (UTC-10:00) Hawaii False Alaskan Standard Time (UTC-09:00) Alaska True ... -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> try { diff --git a/Scripts/list-tiobe-index.ps1 b/Scripts/list-tiobe-index.ps1 index 60ab500a..0a41f9b0 100644 --- a/Scripts/list-tiobe-index.ps1 +++ b/Scripts/list-tiobe-index.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Lists the TIOBE index of top programming languages .DESCRIPTION - This script lists the TIOBE index of top programming languages. + This PowerShell script lists the TIOBE index of top programming languages. .EXAMPLE PS> ./list-tiobe-index -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> function WriteBar { param([string]$Text, [float]$Value, [float]$Max, [float]$Change) diff --git a/Scripts/list-unused-files.ps1 b/Scripts/list-unused-files.ps1 index f0c90598..68c5524c 100755 --- a/Scripts/list-unused-files.ps1 +++ b/Scripts/list-unused-files.ps1 @@ -1,18 +1,18 @@ <# .SYNOPSIS - Lists unused files in a folder (including subfolders) + Lists unused files in a directory tree .DESCRIPTION - This script scans and lists files in a folder with last access time older than number of days. + This PowerShell script scans and lists files in a folder with last access time older than number of days. .PARAMETER DirTree Specifies the path to the directory tree .PARAMETER Days Specifies the number of days .EXAMPLE PS> ./list-unused-files C:\ 100 -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> param([string]$DirTree = "", [int]$Days = 100) diff --git a/Scripts/list-user-groups.ps1 b/Scripts/list-user-groups.ps1 index 0a1268d3..ae21df92 100755 --- a/Scripts/list-user-groups.ps1 +++ b/Scripts/list-user-groups.ps1 @@ -2,7 +2,7 @@ .SYNOPSIS Lists the user groups on the local computer .DESCRIPTION - This script lists the user groups on the local computer. + This PowerShell script lists the user groups on the local computer. .EXAMPLE PS> ./list-user-groups @@ -11,10 +11,10 @@ HomeUsers HomeUsers Security Group Ssh Users Members of this group can remotely access this computer over SSH protocol. ... -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> try { diff --git a/Scripts/list-voices.ps1 b/Scripts/list-voices.ps1 index fc4cc11e..7019d0f4 100644 --- a/Scripts/list-voices.ps1 +++ b/Scripts/list-voices.ps1 @@ -2,7 +2,7 @@ .SYNOPSIS Lists the installed text-to-speech voices .DESCRIPTION - This script lists the installed text-to-speech (TTS) voices. + This PowerShell script lists the installed text-to-speech (TTS) voices. .EXAMPLE PS> ./list-voices @@ -10,10 +10,10 @@ ---- ------- ------ --- Microsoft David Desktop en-US Male Adult Microsoft Zira Desktop en-US Female Adult -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> #Requires -Version 2.0 diff --git a/Scripts/list-weather.ps1 b/Scripts/list-weather.ps1 index 1ca76528..cf4bb54a 100755 --- a/Scripts/list-weather.ps1 +++ b/Scripts/list-weather.ps1 @@ -2,15 +2,15 @@ .SYNOPSIS Lists the hourly weather report .DESCRIPTION - This script lists the hourly weather report. + This PowerShell script lists the hourly weather report. .PARAMETER Location Specifies the location to use (determined automatically per default) .EXAMPLE PS> ./list-weather -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> param([string]$Location = "") # empty means determine automatically diff --git a/Scripts/list-workdir.ps1 b/Scripts/list-workdir.ps1 index 99e0a7e5..16e6c253 100644 --- a/Scripts/list-workdir.ps1 +++ b/Scripts/list-workdir.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Lists the current working directory .DESCRIPTION - This script lists the current working directory (but not the content itself!) + This PowerShell script lists the current working directory (but not the content itself!) .EXAMPLE PS> ./list-workdir -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> try { diff --git a/Scripts/locate-city.ps1 b/Scripts/locate-city.ps1 index 5eaa5151..101d5817 100755 --- a/Scripts/locate-city.ps1 +++ b/Scripts/locate-city.ps1 @@ -2,15 +2,15 @@ .SYNOPSIS Prints the geographic location of a city .DESCRIPTION - This script prints the geographic location of the given city. + This PowerShell script prints the geographic location of the given city. .PARAMETER City Specifies the city to look for .EXAMPLE PS> ./locate-city Paris -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> param([string]$City = "") diff --git a/Scripts/locate-ipaddress.ps1 b/Scripts/locate-ipaddress.ps1 index c8300647..00ea1163 100755 --- a/Scripts/locate-ipaddress.ps1 +++ b/Scripts/locate-ipaddress.ps1 @@ -2,15 +2,15 @@ .SYNOPSIS Prints the geo location of the given IP address .DESCRIPTION - This script prints the geographic location of the given IP address. + This PowerShell script prints the geographic location of the given IP address. .PARAMTER IPaddress Specifies the IP address .EXAMPLE PS> ./locate-ipaddress 177.144.67.98 -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> param([string]$IPaddress= "") diff --git a/Scripts/locate-my-phone.ps1 b/Scripts/locate-my-phone.ps1 index 8d9c143c..35e6e063 100755 --- a/Scripts/locate-my-phone.ps1 +++ b/Scripts/locate-my-phone.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Opens Google Find My Device .DESCRIPTION - This script launches the Web browser with the Google Find My Device website. + This PowerShell script launches the Web browser with the Google Find My Device website. .EXAMPLE PS> ./locate-my-phone -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> & "$PSScriptRoot/open-default-browser.ps1" "https://www.google.com/android/find" diff --git a/Scripts/locate-zip-code.ps1 b/Scripts/locate-zip-code.ps1 index 0215bb8d..fd6ac5ea 100755 --- a/Scripts/locate-zip-code.ps1 +++ b/Scripts/locate-zip-code.ps1 @@ -2,17 +2,17 @@ .SYNOPSIS Prints the geo location of a zip-code .DESCRIPTION - This script prints the geographic location of the given zip-code. + This PowerShell script prints the geographic location of the given zip-code. .PARAMETER CountryCode Specifies the country code .PARAMETER ZipCode Specifies the zip code .EXAMPLE PS> ./locate-zip-code -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> param([string]$CountryCode = "", [string]$ZipCode = "") diff --git a/Scripts/log-off.ps1 b/Scripts/log-off.ps1 index 0f398e59..83cc73d5 100644 --- a/Scripts/log-off.ps1 +++ b/Scripts/log-off.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Log off the current user .DESCRIPTION - This script logs off the current Windows user. + This PowerShell script logs off the current Windows user. .EXAMPLE PS> ./log-off -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> diff --git a/Scripts/make-install.ps1 b/Scripts/make-install.ps1 index 62a09c4c..88816a2c 100755 --- a/Scripts/make-install.ps1 +++ b/Scripts/make-install.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Copies newer EXE's + DLL's from the build directory to the installation directory .DESCRIPTION - This script copies newer EXE's + DLL's from the build directory to the installation directory. + This PowerShell script copies newer EXE's + DLL's from the build directory to the installation directory. .EXAMPLE PS> ./make-install -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> set SRC_DIR=%1 diff --git a/Scripts/merry-christmas.ps1 b/Scripts/merry-christmas.ps1 index c025fdb2..f2438bae 100644 --- a/Scripts/merry-christmas.ps1 +++ b/Scripts/merry-christmas.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Replies to "Merry Christmas" .DESCRIPTION - This script replies to 'Merry Christmas' by text-to-speech (TTS). + This PowerShell script replies to 'Merry Christmas' by text-to-speech (TTS). .EXAMPLE PS> ./merry-christmas -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> $Reply = "Merry Christmas to you too!", "Happy Christmas to you too!" | Get-Random diff --git a/Scripts/moon.ps1 b/Scripts/moon.ps1 index d7efb3f0..bc9551f9 100755 --- a/Scripts/moon.ps1 +++ b/Scripts/moon.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Prints the current moon phase .DESCRIPTION - This script prints the current moon phase. + This PowerShell script prints the current moon phase. .EXAMPLE PS> ./moon -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> try { diff --git a/Scripts/new-branch.ps1 b/Scripts/new-branch.ps1 index 3a471923..6bd1e1c3 100755 --- a/Scripts/new-branch.ps1 +++ b/Scripts/new-branch.ps1 @@ -2,17 +2,17 @@ .SYNOPSIS Creates and switches to a new branch in a Git repository .DESCRIPTION - This script creates and switches to a new branch in a Git repository. + This PowerShell script creates and switches to a new branch in a Git repository. .PARAMETER BranchName Specifies the branch name .PARAMETER RepoDir Specifies the path to the Git repository .EXAMPLE PS> ./new-branch test123 -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> param([string]$BranchName = "", [string]$RepoDir = "$PWD") diff --git a/Scripts/new-email.ps1 b/Scripts/new-email.ps1 index c6b5818d..0110018d 100755 --- a/Scripts/new-email.ps1 +++ b/Scripts/new-email.ps1 @@ -2,15 +2,15 @@ .SYNOPSIS Opens the default email client to write a new email .DESCRIPTION - This script opens the default email client to write a new email. + This PowerShell script opens the default email client to write a new email. .PARAMETER EmailAddress Specifies the email address fill in .EXAMPLE PS> ./new-email -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> param([string]$EmailAddress = "markus@fleschutz.de") diff --git a/Scripts/new-qrcode.ps1 b/Scripts/new-qrcode.ps1 index 28db98c5..48fdb7b3 100755 --- a/Scripts/new-qrcode.ps1 +++ b/Scripts/new-qrcode.ps1 @@ -2,17 +2,17 @@ .SYNOPSIS Generates a new QR code image file .DESCRIPTION - This script generates a new QR code image file. + This PowerShell script generates a new QR code image file. .PARAMETER Text Specifies the text to use .PARAMETER ImageSize Specifies the image size (width x height) .EXAMPLE PS> ./new-qrcode "Fasten seatbelt" 500x500 -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> param([string]$Text = "", [string]$ImageSize = "") diff --git a/Scripts/new-script.ps1 b/Scripts/new-script.ps1 index 8a0caee3..fd9ff34f 100755 --- a/Scripts/new-script.ps1 +++ b/Scripts/new-script.ps1 @@ -2,16 +2,16 @@ .SYNOPSIS Creates a new PowerShell script file .DESCRIPTION - Creates a new PowerShell script file (by using template file ../Data/template.ps1). + This PowerShell script creates a new PowerShell script file (by using template file ../Data/template.ps1). .PARAMETER filename Specifies the path to the resulting file .EXAMPLE PS> ./new-script myscript.ps1 ✔️ created new PowerShell script: myscript.ps1 -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> param([string]$filename = "") diff --git a/Scripts/new-shortcut.ps1 b/Scripts/new-shortcut.ps1 index cf442928..d84bc5c7 100755 --- a/Scripts/new-shortcut.ps1 +++ b/Scripts/new-shortcut.ps1 @@ -2,7 +2,7 @@ .SYNOPSIS Creates a new shortcut file .DESCRIPTION - This script creates a new shortcut file. + This PowerShell script creates a new shortcut file. .PARAMETER shortcut Specifies the shortcut filename .PARAMETER target @@ -11,10 +11,10 @@ Specifies a description .EXAMPLE PS> ./new-shortcut C:\Temp\HDD C:\ -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> param([string]$shortcut = "", [string]$target = "", [string]$description) diff --git a/Scripts/new-symlink.ps1 b/Scripts/new-symlink.ps1 index cac2cb11..55f949b1 100755 --- a/Scripts/new-symlink.ps1 +++ b/Scripts/new-symlink.ps1 @@ -2,17 +2,17 @@ .SYNOPSIS Creates a new symbolic link file .DESCRIPTION - This script creates a new symbolic link file. + This PowerShell script creates a new symbolic link file. .PARAMETER symlink Specifies the new symlink filename .PARAMETER target Specifies the path to target .EXAMPLE PS> ./new-symlink C:\Temp\HDD C:\ -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> param([string]$symlink = "", $[string]target = "") diff --git a/Scripts/new-tag.ps1 b/Scripts/new-tag.ps1 index 76a3ba3f..0bf98a30 100755 --- a/Scripts/new-tag.ps1 +++ b/Scripts/new-tag.ps1 @@ -2,7 +2,7 @@ .SYNOPSIS Creates a new tag in a Git repository .DESCRIPTION - This script creates a new tag in a Git repository. + This PowerShell script creates a new tag in a Git repository. .PARAMETER TagName Specifies the new tag name .PARAMETER RepoDir @@ -12,7 +12,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz · License: CC0 + Author: Markus Fleschutz / License: CC0 #> param([string]$TagName = "", [string]$RepoDir = "$PWD") diff --git a/Scripts/new-zipfile.ps1 b/Scripts/new-zipfile.ps1 index bf5a7058..8d73114b 100755 --- a/Scripts/new-zipfile.ps1 +++ b/Scripts/new-zipfile.ps1 @@ -2,15 +2,15 @@ .SYNOPSIS Creates a new .ZIP file from a folder (including subfolders) .DESCRIPTION - This script creates a new .ZIP file from a folder (including subfolders). + This PowerShell script creates a new .ZIP file from a folder (including subfolders). .PARAMETER folder Specifies the path to the folder .EXAMPLE PS> ./new-zipfile C:\Windows -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> param([string]$folder = "") diff --git a/Scripts/open-accu-weather.ps1 b/Scripts/open-accu-weather.ps1 index dea0f69b..00ec92ce 100755 --- a/Scripts/open-accu-weather.ps1 +++ b/Scripts/open-accu-weather.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Opens the AccuWeather website .DESCRIPTION - This script launches the Web browser with the AccuWeather website. + This PowerShell script launches the Web browser with the AccuWeather website. .EXAMPLE PS> ./open-accu-weather -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> & "$PSScriptRoot/open-default-browser.ps1" "https://www.accuweather.com" diff --git a/Scripts/open-air-b-n-b.ps1 b/Scripts/open-air-b-n-b.ps1 index 5c9a3fe9..2a7ecbba 100755 --- a/Scripts/open-air-b-n-b.ps1 +++ b/Scripts/open-air-b-n-b.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Opens the AirBNB website .DESCRIPTION - This script launches the Web browser with the AirBNB website. + This PowerShell script launches the Web browser with the AirBNB website. .EXAMPLE PS> ./open-air-b-n-b -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> & "$PSScriptRoot/open-default-browser.ps1" "https://www.airbnb.com" diff --git a/Scripts/open-apps-folder.ps1 b/Scripts/open-apps-folder.ps1 index e4a15569..2af09a64 100644 --- a/Scripts/open-apps-folder.ps1 +++ b/Scripts/open-apps-folder.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Opens the Apps folder .DESCRIPTION - This script launches the File Explorer showing the UWP apps folder. + This PowerShell script launches the File Explorer showing the UWP apps folder. .EXAMPLE PS> ./open-apps-folder -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> & "$PSScriptRoot/open-file-explorer.ps1" "shell:AppsFolder" diff --git a/Scripts/open-auto-start-folder.ps1 b/Scripts/open-auto-start-folder.ps1 index dfa515c5..c1a4b5d3 100755 --- a/Scripts/open-auto-start-folder.ps1 +++ b/Scripts/open-auto-start-folder.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Opens the autostart folder .DESCRIPTION - This script launches the File Explorer with the user's autostart folder. + This PowerShell script launches the File Explorer with the user's autostart folder. .EXAMPLE PS> ./open-auto-start-folder -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> try { diff --git a/Scripts/open-bing-maps.ps1 b/Scripts/open-bing-maps.ps1 index 993ed777..e78bf73c 100755 --- a/Scripts/open-bing-maps.ps1 +++ b/Scripts/open-bing-maps.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Launches the Bing Maps app .DESCRIPTION - This script launches the Bing Maps application. + This PowerShell script launches the Bing Maps application. .EXAMPLE PS> ./open-bing-maps -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> try { diff --git a/Scripts/open-booking-com.ps1 b/Scripts/open-booking-com.ps1 index 3215b636..891adaa6 100755 --- a/Scripts/open-booking-com.ps1 +++ b/Scripts/open-booking-com.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Opens the Booking.com website .DESCRIPTION - This script launches the Web browser with the Booking.com website. + This PowerShell script launches the Web browser with the Booking.com website. .EXAMPLE PS> ./open-booking-com -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> & "$PSScriptRoot/open-default-browser.ps1" "https://www.booking.com" diff --git a/Scripts/open-c-drive.ps1 b/Scripts/open-c-drive.ps1 index 029bbf85..23c37722 100755 --- a/Scripts/open-c-drive.ps1 +++ b/Scripts/open-c-drive.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Opens the C: drive folder .DESCRIPTION - This script launches the File Explorer with the C: drive folder. + This PowerShell script launches the File Explorer with the C: drive folder. .EXAMPLE PS> ./open-c-drive -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> & "$PSScriptRoot/open-file-explorer.ps1" "C:" diff --git a/Scripts/open-calculator.ps1 b/Scripts/open-calculator.ps1 index de7010c2..c6b27b2c 100755 --- a/Scripts/open-calculator.ps1 +++ b/Scripts/open-calculator.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Launches the calculator application .DESCRIPTION - This script launches the calculator application. + This PowerShell script launches the calculator application. .EXAMPLE PS> ./open-calculator -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> try { diff --git a/Scripts/open-chrome.ps1 b/Scripts/open-chrome.ps1 index 970c46a9..033d5644 100755 --- a/Scripts/open-chrome.ps1 +++ b/Scripts/open-chrome.ps1 @@ -2,15 +2,15 @@ .SYNOPSIS Launches the Chrome browser .DESCRIPTION - This script launches the Google Chrome Web browser. + This PowerShell script launches the Google Chrome Web browser. .EXAMPLE PS> ./open-chrome .PARAMETER URL Specifies an optional URL -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> param([string]$URL = "http://www.fleschutz.de") diff --git a/Scripts/open-clock.ps1 b/Scripts/open-clock.ps1 index c0e3c778..8df1df30 100755 --- a/Scripts/open-clock.ps1 +++ b/Scripts/open-clock.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Launches the Clock app .DESCRIPTION - This script launches the Clock application. + This PowerShell script launches the Clock application. .EXAMPLE PS> ./open-clock -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> try { diff --git a/Scripts/open-cortana.ps1 b/Scripts/open-cortana.ps1 index 8f0cf55d..195337a1 100755 --- a/Scripts/open-cortana.ps1 +++ b/Scripts/open-cortana.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Launches the Cortana app .DESCRIPTION - This script launches the Cortana application. + This PowerShell script launches the Cortana application. .EXAMPLE PS> ./open-cortana -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> try { diff --git a/Scripts/open-d-drive.ps1 b/Scripts/open-d-drive.ps1 index 3ca2b4a4..5b42114f 100755 --- a/Scripts/open-d-drive.ps1 +++ b/Scripts/open-d-drive.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Opens the D: drive folder .DESCRIPTION - This script launches the File Explorer with the D: drive folder. + This PowerShell script launches the File Explorer with the D: drive folder. .EXAMPLE PS> ./open-d-drive -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> & "$PSScriptRoot/open-file-explorer.ps1" "D:" diff --git a/Scripts/open-deep-l-translator.ps1 b/Scripts/open-deep-l-translator.ps1 index be1b72eb..870fd15a 100755 --- a/Scripts/open-deep-l-translator.ps1 +++ b/Scripts/open-deep-l-translator.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Opens the DeepL Translator website .DESCRIPTION - This script launches the Web browser with the DeepL Translator website. + This PowerShell script launches the Web browser with the DeepL Translator website. .EXAMPLE PS> ./open-deep-l-translator -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> & "$PSScriptRoot/open-default-browser.ps1" "https://www.deepl.com/translator" diff --git a/Scripts/open-default-browser.ps1 b/Scripts/open-default-browser.ps1 index 933876a5..9d02a694 100755 --- a/Scripts/open-default-browser.ps1 +++ b/Scripts/open-default-browser.ps1 @@ -2,15 +2,15 @@ .SYNOPSIS Opens the default browser .DESCRIPTION - This script launches the default Web browser, optional with a given URL. + This PowerShell script launches the default Web browser, optional with a given URL. .PARAMETER URL Specifies the URL .EXAMPLE PS> ./open-default-browser -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> param([string]$URL = "http://www.fleschutz.de") diff --git a/Scripts/open-desktop-folder.ps1 b/Scripts/open-desktop-folder.ps1 index 1ffada4d..5475a4d3 100755 --- a/Scripts/open-desktop-folder.ps1 +++ b/Scripts/open-desktop-folder.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Opens the desktop folder .DESCRIPTION - This script launches the File Explorer with the user's desktop folder. + This PowerShell script launches the File Explorer with the user's desktop folder. .EXAMPLE PS> ./open-desktop-folder -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> try { diff --git a/Scripts/open-documents-folder.ps1 b/Scripts/open-documents-folder.ps1 index d2a5ba20..a20129fa 100755 --- a/Scripts/open-documents-folder.ps1 +++ b/Scripts/open-documents-folder.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Opens the documents folder .DESCRIPTION - This script launches the File Explorer with the user's documents folder. + This PowerShell script launches the File Explorer with the user's documents folder. .EXAMPLE PS> ./open-documents-folder -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> try { diff --git a/Scripts/open-downloads-folder.ps1 b/Scripts/open-downloads-folder.ps1 index 1dad2707..031bdd09 100755 --- a/Scripts/open-downloads-folder.ps1 +++ b/Scripts/open-downloads-folder.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Opens the user's downloads folder .DESCRIPTION - This script launches the File Explorer showing the user's downloads folder. + This PowerShell script launches the File Explorer showing the user's downloads folder. .EXAMPLE PS> ./open-downloads-folder -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> try { diff --git a/Scripts/open-dropbox-folder.ps1 b/Scripts/open-dropbox-folder.ps1 index c15139d1..a7bf497d 100755 --- a/Scripts/open-dropbox-folder.ps1 +++ b/Scripts/open-dropbox-folder.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Opens the Dropbox folder .DESCRIPTION - This script launches the File Explorer with the user's Dropbox folder. + This PowerShell script launches the File Explorer with the user's Dropbox folder. .EXAMPLE PS> ./open-dropbox-folder -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> try { diff --git a/Scripts/open-duck-duck-go.ps1 b/Scripts/open-duck-duck-go.ps1 index 9e5741c1..4582fe1a 100755 --- a/Scripts/open-duck-duck-go.ps1 +++ b/Scripts/open-duck-duck-go.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Opens the DuckDuckGo website .DESCRIPTION - This script launches the Web browser with the DuckDuckGo website. + This PowerShell script launches the Web browser with the DuckDuckGo website. .EXAMPLE PS> ./open-duck-duck-go -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> & "$PSScriptRoot/open-default-browser.ps1" "https://duckduckgo.com" diff --git a/Scripts/open-e-drive.ps1 b/Scripts/open-e-drive.ps1 index eb7ec9df..306ae9d2 100644 --- a/Scripts/open-e-drive.ps1 +++ b/Scripts/open-e-drive.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Opens the E: drive folder .DESCRIPTION - This script launches the File Explorer with the E: drive folder. + This PowerShell script launches the File Explorer with the E: drive folder. .EXAMPLE PS> ./open-e-drive -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> & "$PSScriptRoot/open-file-explorer.ps1" "E:" diff --git a/Scripts/open-edge.ps1 b/Scripts/open-edge.ps1 index ae2d2352..6db9bd55 100755 --- a/Scripts/open-edge.ps1 +++ b/Scripts/open-edge.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Launches the Edge browser .DESCRIPTION - This script launches the Microsoft Edge Web browser. + This PowerShell script launches the Microsoft Edge Web browser. .EXAMPLE PS> ./open-edge -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> Start-Process microsoft-edge:// diff --git a/Scripts/open-egg-timer.ps1 b/Scripts/open-egg-timer.ps1 index ea16a149..0a8603bc 100755 --- a/Scripts/open-egg-timer.ps1 +++ b/Scripts/open-egg-timer.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Opens an egg timer .DESCRIPTION - This script launches the Web browser with the eggtimer website. + This PowerShell script launches the Web browser with the eggtimer website. .EXAMPLE PS> ./open-egg-timer -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> & "$PSScriptRoot/open-default-browser.ps1" "https://e.ggtimer.com" diff --git a/Scripts/open-email-client.ps1 b/Scripts/open-email-client.ps1 index e4f9c6ab..45ef7497 100755 --- a/Scripts/open-email-client.ps1 +++ b/Scripts/open-email-client.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Starts the default email client .DESCRIPTION - This script launches the default email client. + This PowerShell script launches the default email client. .EXAMPLE PS> ./open-email-client -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> try { diff --git a/Scripts/open-f-drive.ps1 b/Scripts/open-f-drive.ps1 index c412f633..54c9fb5b 100755 --- a/Scripts/open-f-drive.ps1 +++ b/Scripts/open-f-drive.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Opens the F: drive folder .DESCRIPTION - This script launches the File Explorer with the F: drive folder. + This PowerShell script launches the File Explorer with the F: drive folder. .EXAMPLE PS> ./open-f-drive -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> & "$PSScriptRoot/open-file-explorer.ps1" "F:" diff --git a/Scripts/open-file-explorer.ps1 b/Scripts/open-file-explorer.ps1 index a09e2ba9..604c87cd 100755 --- a/Scripts/open-file-explorer.ps1 +++ b/Scripts/open-file-explorer.ps1 @@ -2,15 +2,15 @@ .SYNOPSIS Starts the File Explorer .DESCRIPTION - This script launches the File Explorer. + This PowerShell script launches the File Explorer. .EXAMPLE PS> ./open-file-explorer .PARAMETER Path Specifies the path to the folder to display -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> param([string]$Path = "") diff --git a/Scripts/open-fire-place.ps1 b/Scripts/open-fire-place.ps1 index 30a35d6e..b61c6d25 100755 --- a/Scripts/open-fire-place.ps1 +++ b/Scripts/open-fire-place.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Opens a fire place website .DESCRIPTION - This script launches the Web browser with a fire place website. + This PowerShell script launches the Web browser with a fire place website. .EXAMPLE PS> ./open-fire-place -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> & "$PSScriptRoot/open-default-browser.ps1" "https://freefireplaces.com" diff --git a/Scripts/open-firefox.ps1 b/Scripts/open-firefox.ps1 index 74812cd1..1d7996c8 100755 --- a/Scripts/open-firefox.ps1 +++ b/Scripts/open-firefox.ps1 @@ -2,15 +2,15 @@ .SYNOPSIS Launches the Firefox browser .DESCRIPTION - This script launches the Mozilla Firefox Web browser. + This PowerShell script launches the Mozilla Firefox Web browser. .EXAMPLE PS> ./open-firefox .PARAMETER URL Specifies an URL -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> param([string]$URL = "http://www.fleschutz.de") diff --git a/Scripts/open-flight-radar.ps1 b/Scripts/open-flight-radar.ps1 index 0fe745bb..cdcf21c3 100755 --- a/Scripts/open-flight-radar.ps1 +++ b/Scripts/open-flight-radar.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Opens FlightRadar24 .DESCRIPTION - This script launches the Web browser with the FlightRadar24 website. + This PowerShell script launches the Web browser with the FlightRadar24 website. .EXAMPLE PS> ./open-flight-radar -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> & "$PSScriptRoot/open-default-browser.ps1" "https://www.flightradar24.com" diff --git a/Scripts/open-g-drive.ps1 b/Scripts/open-g-drive.ps1 index 05aabffd..4ce17020 100644 --- a/Scripts/open-g-drive.ps1 +++ b/Scripts/open-g-drive.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Opens the G: drive folder .DESCRIPTION - This script launches the File Explorer with the G: drive folder. + This PowerShell script launches the File Explorer with the G: drive folder. .EXAMPLE PS> ./open-g-drive -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> & "$PSScriptRoot/open-file-explorer.ps1" "G:" diff --git a/Scripts/open-git-extensions.ps1 b/Scripts/open-git-extensions.ps1 index 3ec81beb..f24e9895 100644 --- a/Scripts/open-git-extensions.ps1 +++ b/Scripts/open-git-extensions.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Launches Git Extensions .DESCRIPTION - This script launches the Git Extensions application. + This PowerShell script launches the Git Extensions application. .EXAMPLE PS> ./open-git-extensions -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> function TryToExec { param($Folder, $Binary) diff --git a/Scripts/open-google-books.ps1 b/Scripts/open-google-books.ps1 index b9e55828..4d4efda6 100755 --- a/Scripts/open-google-books.ps1 +++ b/Scripts/open-google-books.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Opens Google Books .DESCRIPTION - This script launches the Web browser with the Google Books website. + This PowerShell script launches the Web browser with the Google Books website. .EXAMPLE PS> ./open-google-books -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> & "$PSScriptRoot/open-default-browser.ps1" "https://books.google.com" diff --git a/Scripts/open-google-calendar.ps1 b/Scripts/open-google-calendar.ps1 index 518b3384..1288e4cf 100755 --- a/Scripts/open-google-calendar.ps1 +++ b/Scripts/open-google-calendar.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Opens Google Calendar .DESCRIPTION - This script launches the Web browser with the Google Calendar website. + This PowerShell script launches the Web browser with the Google Calendar website. .EXAMPLE PS> ./open-google-calendar -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> & "$PSScriptRoot/open-default-browser.ps1" "https://calendar.google.com" diff --git a/Scripts/open-google-contacts.ps1 b/Scripts/open-google-contacts.ps1 index bf07b3ab..8e5420d3 100755 --- a/Scripts/open-google-contacts.ps1 +++ b/Scripts/open-google-contacts.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Opens Google Contacts .DESCRIPTION - This script launches the Web browser with the Google Contacts website. + This PowerShell script launches the Web browser with the Google Contacts website. .EXAMPLE PS> ./open-google-contacts -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> & "$PSScriptRoot/open-default-browser.ps1" "https://contacts.google.com" diff --git a/Scripts/open-google-docs.ps1 b/Scripts/open-google-docs.ps1 index 144ef163..533771fb 100755 --- a/Scripts/open-google-docs.ps1 +++ b/Scripts/open-google-docs.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Opens Google Docs .DESCRIPTION - This script launches the Web browser with the Google Docs website. + This PowerShell script launches the Web browser with the Google Docs website. .EXAMPLE PS> ./open-google-docs -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> & "$PSScriptRoot/open-default-browser.ps1" "https://docs.google.com" diff --git a/Scripts/open-google-earth.ps1 b/Scripts/open-google-earth.ps1 index a96ece83..1ea8baac 100755 --- a/Scripts/open-google-earth.ps1 +++ b/Scripts/open-google-earth.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Opens Google Earth .DESCRIPTION - This script launches the Web browser with the Google Earth website. + This PowerShell script launches the Web browser with the Google Earth website. .EXAMPLE PS> ./open-google-earth -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> & "$PSScriptRoot/open-default-browser.ps1" "https://earth.google.com/web/" diff --git a/Scripts/open-google-mail.ps1 b/Scripts/open-google-mail.ps1 index 209bae26..b951b7f5 100755 --- a/Scripts/open-google-mail.ps1 +++ b/Scripts/open-google-mail.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Opens Google Mail .DESCRIPTION - This script launches the Web browser with the Google Mail website. + This PowerShell script launches the Web browser with the Google Mail website. .EXAMPLE PS> ./open-google-mail -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> & "$PSScriptRoot/open-default-browser.ps1" "https://mail.google.com" diff --git a/Scripts/open-google-maps.ps1 b/Scripts/open-google-maps.ps1 index 935d8f65..9e55004c 100755 --- a/Scripts/open-google-maps.ps1 +++ b/Scripts/open-google-maps.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Opens Google Maps .DESCRIPTION - This script launches the Web browser with the Google Maps website. + This PowerShell script launches the Web browser with the Google Maps website. .EXAMPLE PS> ./open-google-maps -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> & "$PSScriptRoot/open-default-browser.ps1" "https://www.google.com/maps" diff --git a/Scripts/open-google-news.ps1 b/Scripts/open-google-news.ps1 index c2a6694e..9c037474 100755 --- a/Scripts/open-google-news.ps1 +++ b/Scripts/open-google-news.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Opens Google News .DESCRIPTION - This script launches the Web browser with the Google News website. + This PowerShell script launches the Web browser with the Google News website. .EXAMPLE PS> ./open-google-news -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> & "$PSScriptRoot/open-default-browser.ps1" "https://news.google.com" diff --git a/Scripts/open-google-photos.ps1 b/Scripts/open-google-photos.ps1 index 8385872e..91198967 100755 --- a/Scripts/open-google-photos.ps1 +++ b/Scripts/open-google-photos.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Opens Google Photos .DESCRIPTION - This script launches the Web browser with the Google Photos website. + This PowerShell script launches the Web browser with the Google Photos website. .EXAMPLE PS> ./open-google-photos -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> & "$PSScriptRoot/open-default-browser.ps1" "https://photos.google.com" diff --git a/Scripts/open-google-play.ps1 b/Scripts/open-google-play.ps1 index 2d20fe65..c599a969 100755 --- a/Scripts/open-google-play.ps1 +++ b/Scripts/open-google-play.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Opens Google Play .DESCRIPTION - This script launches the Web browser with the Google Play website. + This PowerShell script launches the Web browser with the Google Play website. .EXAMPLE PS> ./open-google-play -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> & "$PSScriptRoot/open-default-browser.ps1" "https://play.google.com/store" diff --git a/Scripts/open-google-search.ps1 b/Scripts/open-google-search.ps1 index 66a3c965..140318c5 100755 --- a/Scripts/open-google-search.ps1 +++ b/Scripts/open-google-search.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Opens Google Search .DESCRIPTION - This script launches the Web browser with the Google Search website. + This PowerShell script launches the Web browser with the Google Search website. .EXAMPLE PS> ./open-google-search -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> & "$PSScriptRoot/open-default-browser.ps1" "https://google.com" diff --git a/Scripts/open-google-stadia.ps1 b/Scripts/open-google-stadia.ps1 index 9a916693..de4088aa 100755 --- a/Scripts/open-google-stadia.ps1 +++ b/Scripts/open-google-stadia.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Opens Google Stadia .DESCRIPTION - This script launches the Web browser with the Google Stadia website. + This PowerShell script launches the Web browser with the Google Stadia website. .EXAMPLE PS> ./open-google-stadia -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> & "$PSScriptRoot/open-default-browser.ps1" "https://stadia.google.com" diff --git a/Scripts/open-google-translate.ps1 b/Scripts/open-google-translate.ps1 index f91d9f69..7e7b17ae 100755 --- a/Scripts/open-google-translate.ps1 +++ b/Scripts/open-google-translate.ps1 @@ -2,13 +2,13 @@ .SYNOPSIS Opens Google Translate .DESCRIPTION - This script launches the Web browser with the Google Translate website. + This PowerShell script launches the Web browser with the Google Translate website. .EXAMPLE PS> ./open-google-translate -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz / License: CC0 #> & "$PSScriptRoot/open-default-browser.ps1" "https://translate.google.com" diff --git a/Scripts/restart-network-adapters.ps1 b/Scripts/restart-network-adapters.ps1 index 2f76b906..ae667e80 100644 --- a/Scripts/restart-network-adapters.ps1 +++ b/Scripts/restart-network-adapters.ps1 @@ -1,12 +1,12 @@ <# .SYNOPSIS - Restarts all local network adapters (needs admin rights) + Restarts the network adapters (needs admin rights) .DESCRIPTION - This script restarts all local network adapters (needs admin rights). + This PowerShell script restarts all local network adapters (needs admin rights). .EXAMPLE PS> ./restart-network-adapters .NOTES - Author: Markus Fleschutz · License: CC0 + Author: Markus Fleschutz / License: CC0 .LINK htts://github.com/fleschutz/PowerShell #>