Update the comment-based help

This commit is contained in:
Markus Fleschutz 2021-08-29 17:50:03 +02:00
parent 11ca126b33
commit e10261351c
249 changed files with 780 additions and 1021 deletions

View File

@ -2,14 +2,13 @@
.SYNOPSIS
MD5.ps1 [<file>]
.DESCRIPTION
Prints the MD5 checksum of the given file
Prints the MD5 checksum of the given file.
.EXAMPLE
PS> .\MD5.ps1 C:\MyFile.txt
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
Author: Markus Fleschutz
License: CC0
#>
param([string]$File = "")

View File

@ -2,14 +2,13 @@
.SYNOPSIS
SHA1.ps1 [<file>]
.DESCRIPTION
Prints the SHA1 checksum of the given file
Prints the SHA1 checksum of the given file.
.EXAMPLE
PS> .\SHA1.ps1 C:\MyFile.txt
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
Author: Markus Fleschutz
License: CC0
#>
param([string]$File = "")

View File

@ -2,14 +2,13 @@
.SYNOPSIS
SHA256.ps1 [<file>]
.DESCRIPTION
Prints the SHA256 checksum of the given file
Prints the SHA256 checksum of the given file.
.EXAMPLE
PS> .\SHA256.ps1 C:\MyFile.txt
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
Author: Markus Fleschutz
License: CC0
#>
param([string]$File = "")

View File

@ -2,14 +2,13 @@
.SYNOPSIS
add-firewall-rules.ps1 [<path-to-executables>]
.DESCRIPTION
Adds firewall rules for the given executables (needs administrator rights)
Adds firewall rules for the given executables (needs administrator rights).
.EXAMPLE
PS> .\add-firewall-rules.ps1 C:\MyApp\bin
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
Author: Markus Fleschutz
License: CC0
Author: Markus Fleschutz · License: CC0
#>
#Requires -RunAsAdministrator

View File

@ -2,14 +2,13 @@
.SYNOPSIS
add-memo.ps1 [<text>]
.DESCRIPTION
Adds the given memo text to $HOME/Memos.csv
Adds the given memo text to $HOME/Memos.csv.
.EXAMPLE
PS> .\add-memo.ps1 "Buy apples"
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
Author: Markus Fleschutz
License: CC0
Author: Markus Fleschutz · License: CC0
#>
param([string]$text = "")

View File

@ -2,14 +2,13 @@
.SYNOPSIS
alert.ps1 [<message>]
.DESCRIPTION
Handle and escalate the given alert message
Handle and escalate the given alert message.
.EXAMPLE
PS> .\alert.ps1 "Harddisk failure"
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
Author: Markus Fleschutz
License: CC0
Author: Markus Fleschutz · License: CC0
#>
param([string]$Message = "")

View File

@ -2,14 +2,13 @@
.SYNOPSIS
cd-desktop.ps1
.DESCRIPTION
Go to the user's desktop folder
Go to the user's desktop folder.
.EXAMPLE
PS> .\cd-desktop.ps1
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
Author: Markus Fleschutz
License: CC0
Author: Markus Fleschutz · License: CC0
#>
$TargetDir = resolve-path "$HOME/Desktop"

View File

@ -2,14 +2,13 @@
.SYNOPSIS
cd-docs.ps1
.DESCRIPTION
Go to the user's documents folder
Go to the user's documents folder.
.EXAMPLE
PS> .\cd-docs.ps1
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
Author: Markus Fleschutz
License: CC0
Author: Markus Fleschutz · License: CC0
#>
$TargetDir = resolve-path "$HOME/Documents"

View File

@ -2,14 +2,13 @@
.SYNOPSIS
cd-downloads.ps1
.DESCRIPTION
go to the user's downloads folder
Go to the user's downloads folder.
.EXAMPLE
PS> .\cd-downloads.ps1
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
Author: Markus Fleschutz
License: CC0
Author: Markus Fleschutz · License: CC0
#>
$TargetDir = resolve-path "$HOME/Downloads"

View File

@ -2,14 +2,13 @@
.SYNOPSIS
cd-dropbox.ps1
.DESCRIPTION
Go to the user's Dropbox folder
Go to the user's Dropbox folder.
.EXAMPLE
PS> .\cd-dropbox.ps1
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
Author: Markus Fleschutz
License: CC0
Author: Markus Fleschutz · License: CC0
#>
$TargetDir = resolve-path "$HOME/Dropbox"

View File

@ -2,14 +2,13 @@
.SYNOPSIS
cd-home.ps1
.DESCRIPTION
Go to the user's home folder
Go to the user's home folder.
.EXAMPLE
PS> .\cd-home.ps1
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
Author: Markus Fleschutz
License: CC0
Author: Markus Fleschutz · License: CC0
#>
$TargetDir = resolve-path "$HOME"

View File

@ -2,14 +2,13 @@
.SYNOPSIS
cd-music.ps1
.DESCRIPTION
Go to the user's music folder
Go to the user's music folder.
.EXAMPLE
PS> .\cd-music.ps1
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
Author: Markus Fleschutz
License: CC0
Author: Markus Fleschutz · License: CC0
#>
$TargetDir = resolve-path "$HOME/Music"

View File

@ -2,14 +2,13 @@
.SYNOPSIS
cd-onedrive.ps1
.DESCRIPTION
Go to the user's OneDrive folder
Go to the user's OneDrive folder.
.EXAMPLE
PS> .\cd-onedrive.ps1
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
Author: Markus Fleschutz
License: CC0
Author: Markus Fleschutz · License: CC0
#>
$TargetDir = resolve-path "$HOME/OneDrive"

View File

@ -2,14 +2,13 @@
.SYNOPSIS
cd-pics.ps1
.DESCRIPTION
Go to the user's pictures folder
Go to the user's pictures folder.
.EXAMPLE
PS> .\cd-pics.ps1
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
Author: Markus Fleschutz
License: CC0
Author: Markus Fleschutz · License: CC0
#>
$TargetDir = resolve-path "$HOME/Pictures"

View File

@ -2,14 +2,13 @@
.SYNOPSIS
cd-recycle-bin.ps1
.DESCRIPTION
Go to the user's recycle bin folder
Go to the user's recycle bin folder.
.EXAMPLE
PS> .\cd-recycle-bin.ps1
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
Author: Markus Fleschutz
License: CC0
Author: Markus Fleschutz · License: CC0
#>
function Get-CurrentUserSID { [CmdletBinding()] param()

View File

@ -2,14 +2,13 @@
.SYNOPSIS
cd-repos.ps1
.DESCRIPTION
Go to the user's Git repositories folder
Go to the user's Git repositories folder.
.EXAMPLE
PS> .\cd-repos.ps1
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
Author: Markus Fleschutz
License: CC0
Author: Markus Fleschutz · License: CC0
#>
$TargetDir = resolve-path "$HOME/Repos"

View File

@ -2,14 +2,13 @@
.SYNOPSIS
cd-root.ps1
.DESCRIPTION
Go to the root directory (C:\ on Windows)
Go to the root directory (C:\ on Windows).
.EXAMPLE
PS> .\cd-root.ps1
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
Author: Markus Fleschutz
License: CC0
Author: Markus Fleschutz · License: CC0
#>
if ($IsLinux) {

View File

@ -2,14 +2,13 @@
.SYNOPSIS
cd-scripts.ps1
.DESCRIPTION
Go to the PowerShell Scripts folder
Go to the PowerShell Scripts folder.
.EXAMPLE
PS> .\cd-scripts.ps1
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
Author: Markus Fleschutz
License: CC0
Author: Markus Fleschutz · License: CC0
#>
$TargetDir = resolve-path "$PSScriptRoot"

View File

@ -2,14 +2,13 @@
.SYNOPSIS
cd-up.ps1
.DESCRIPTION
Go one directory level up
Go one directory level up.
.EXAMPLE
PS> .\cd-up.ps1
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
Author: Markus Fleschutz
License: CC0
Author: Markus Fleschutz · License: CC0
#>
$TargetDir = resolve-path ".."

View File

@ -2,14 +2,13 @@
.SYNOPSIS
cd-up2.ps1
.DESCRIPTION
Go two directory levels up
Go two directory levels up.
.EXAMPLE
PS> .\cd-up2.ps1
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
Author: Markus Fleschutz
License: CC0
Author: Markus Fleschutz · License: CC0
#>
$TargetDir = resolve-path "../.."

View File

@ -2,14 +2,13 @@
.SYNOPSIS
cd-up3.ps1
.DESCRIPTION
Go three directory levels up
Go three directory levels up.
.EXAMPLE
PS> .\cd-up3.ps1
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
Author: Markus Fleschutz
License: CC0
Author: Markus Fleschutz · License: CC0
#>
$TargetDir = resolve-path "../../.."

View File

@ -2,14 +2,13 @@
.SYNOPSIS
cd-up4.ps1
.DESCRIPTION
Go four directory levels up
Go four directory levels up.
.EXAMPLE
PS> .\cd-up4.ps1
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
Author: Markus Fleschutz
License: CC0
Author: Markus Fleschutz · License: CC0
#>
$TargetDir = resolve-path "../../../.."

View File

@ -2,14 +2,13 @@
.SYNOPSIS
cd-videos.ps1
.DESCRIPTION
Go to the user's videos folder
Go to the user's videos folder.
.EXAMPLE
PS> .\cd-videos.ps1
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
Author: Markus Fleschutz
License: CC0
Author: Markus Fleschutz · License: CC0
#>
$TargetDir = resolve-path "$HOME/Videos"

View File

@ -2,14 +2,13 @@
.SYNOPSIS
check-cpu-temp.ps1
.DESCRIPTION
Checks the CPU temperature
Checks the CPU temperature.
.EXAMPLE
PS> .\check-cpu-temp.ps1
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
Author: Markus Fleschutz
License: CC0
Author: Markus Fleschutz · License: CC0
#>
try {

View File

@ -2,14 +2,13 @@
.SYNOPSIS
check-dns-resolution.ps1
.DESCRIPTION
Checks the DNS resolution with frequently used domain names
Checks the DNS resolution with frequently used domain names.
.EXAMPLE
PS> .\check-dns-resolution.ps1
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
Author: Markus Fleschutz
License: CC0
Author: Markus Fleschutz · License: CC0
#>
try {

View File

@ -2,14 +2,13 @@
.SYNOPSIS
check-drive-space.ps1 [<drive>] [<min-level>]
.DESCRIPTION
Checks the given drive for free space left
Checks the given drive for free space left.
.EXAMPLE
PS> .\check-drive-space.ps1 C
.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

View File

@ -1,19 +1,17 @@
<#
#Requires -RunAsAdministrator
<#
.SYNOPSIS
check-file-system.ps1 [<drive>]
.DESCRIPTION
Checks the validity of the file system (needs admin rights)
Checks the validity of the file system (needs admin rights).
.EXAMPLE
PS> .\check-file-system.ps1 C
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
Author: Markus Fleschutz
License: CC0
Author: Markus Fleschutz · License: CC0
#>
#Requires -RunAsAdministrator
param([string]$Drive = "")
try {

View File

@ -2,14 +2,13 @@
.SYNOPSIS
check-ipv4-address.ps1 [<address>]
.DESCRIPTION
Checks the given IPv4 address for validity
Checks the given IPv4 address for validity.
.EXAMPLE
PS> .\check-ipv4-address.ps1 192.168.11.22
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
Author: Markus Fleschutz
License: CC0
Author: Markus Fleschutz · License: CC0
#>
param([string]$Address = "")

View File

@ -2,14 +2,13 @@
.SYNOPSIS
check-ipv6-address.ps1 [<address>]
.DESCRIPTION
Checks the given IPv6 address for validity
Checks the given IPv6 address for validity.
.EXAMPLE
PS> .\check-ipv6-address.ps1 fe80::200:5aee:feaa:20a2
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
Author: Markus Fleschutz
License: CC0
Author: Markus Fleschutz · License: CC0
#>
param([string]$Address = "")

View File

@ -2,15 +2,13 @@
.SYNOPSIS
check-mac-address.ps1 [<MAC>]
.DESCRIPTION
Checks the given MAC address for validity
MAC address like 00:00:00:00:00:00 or 00-00-00-00-00-00 or 000000000000
Checks the given MAC address for validity (MAC address like 00:00:00:00:00:00 or 00-00-00-00-00-00 or 000000000000).
.EXAMPLE
PS> .\check-mac-address.ps1 11:22:33:44:55:66
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
Author: Markus Fleschutz
License: CC0
Author: Markus Fleschutz · License: CC0
#>
param([string]$MAC = "")

View File

@ -2,14 +2,13 @@
.SYNOPSIS
check-ping.ps1
.DESCRIPTION
Checks the ping latency from the local computer to the internet
Checks the ping latency from the local computer to the internet.
.EXAMPLE
PS> .\check-ping.ps1
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
Author: Markus Fleschutz
License: CC0
Author: Markus Fleschutz · License: CC0
#>
try {

View File

@ -2,14 +2,13 @@
.SYNOPSIS
check-subnet-mask.ps1 [<address>]
.DESCRIPTION
Checks the given subnet mask for validity
Checks the given subnet mask for validity.
.EXAMPLE
PS> .\check-subnet-mask.ps1 255.255.255.0
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
Author: Markus Fleschutz
License: CC0
Author: Markus Fleschutz · License: CC0
#>
param([string]$address = "")

View File

@ -2,14 +2,13 @@
.SYNOPSIS
check-swap-space.ps1 [<min-level>]
.DESCRIPTION
Checks the free swap space
Checks the free swap space.
.EXAMPLE
PS> .\check-swap-space.ps1
.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

View File

@ -2,14 +2,13 @@
.SYNOPSIS
check-symlinks.ps1 [<dir-tree>]
.DESCRIPTION
Checks every symlink in the given directory tree
Checks every symlink in the given directory tree.
.EXAMPLE
PS> .\check-symlinks.ps1 C:\MyApp
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
Author: Markus Fleschutz
License: CC0
Author: Markus Fleschutz · License: CC0
#>
param([string]$DirTree = "")

View File

@ -2,14 +2,13 @@
.SYNOPSIS
check-weather.ps1 [<location>]
.DESCRIPTION
Checks the weather for critical values
Checks the weather for critical values.
.EXAMPLE
PS> .\check-weather.ps1
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
Author: Markus Fleschutz
License: CC0
Author: Markus Fleschutz · License: CC0
#>
param([string]$Location = "") # empty means determine automatically

View File

@ -1,19 +1,17 @@
<#
#Requires -RunAsAdministrator
<#
.SYNOPSIS
check-windows-system-files.ps1
.DESCRIPTION
Checks the validity of the Windows system files (requires admin rights)
Checks the validity of the Windows system files (requires admin rights).
.EXAMPLE
PS> .\check-windows-system-files.ps1
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
Author: Markus Fleschutz
License: CC0
Author: Markus Fleschutz · License: CC0
#>
#Requires -RunAsAdministrator
try {
sfc /verifyOnly
if ($lastExitCode -ne "0") { throw "'sfc /verifyOnly' failed" }

View File

@ -2,14 +2,13 @@
.SYNOPSIS
check-xml-file [<file>]
.DESCRIPTION
Checks the given XML file for validity
Checks the given XML file for validity.
.EXAMPLE
PS> .\check-xml-file.ps1 myfile.xml
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
Author: Markus Fleschutz
License: CC0
#>
param([string]$File = "")

View File

@ -6,11 +6,10 @@
NOTE: in case of merge conflicts the script stops immediately!
.EXAMPLE
PS> .\cherry-picker.ps1 93849f889 "Fix typo" "v1 v2 v3"
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
Author: Markus Fleschutz
License: CC0
#>
param([string]$CommitID = "", [string]$CommitMessage = "", [string]$Branches = "", [string]$RepoDir = "$PWD")

View File

@ -2,14 +2,13 @@
.SYNOPSIS
clean-repo.ps1 [<repo-dir>]
.DESCRIPTION
Cleans a Git repository from untracked files (including submodules, e.g. for a fresh build)
Cleans a Git repository from untracked files (including submodules, e.g. for a fresh build).
.EXAMPLE
PS> .\clean-repo.ps1 C:\MyRepo
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
Author: Markus Fleschutz
License: CC0
#>
param([string]$RepoDir = "$PWD")

View File

@ -2,14 +2,13 @@
.SYNOPSIS
clean-repos.ps1 [<parent-dir>]
.DESCRIPTION
Cleans all Git repositories under the current/given directory from untracked files (including submodules)
Cleans all Git repositories under the current/given directory from untracked files (including submodules).
.EXAMPLE
PS> .\clean-repos.ps1 C:\MyRepos
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
Author: Markus Fleschutz
License: CC0
#>
param([string]$ParentDir = "$PWD")

View File

@ -2,14 +2,13 @@
.SYNOPSIS
clear-recycle-bin.ps1
.DESCRIPTION
Removes the content of the recycle bin folder (can not be undo!)
Removes the content of the recycle bin folder (can not be undo).
.EXAMPLE
PS> .\clear-recycle-bin.ps1
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
Author: Markus Fleschutz
License: CC0
#>
try {

View File

@ -5,11 +5,10 @@
Clones well-known Git repositories under the current/given directory.
.EXAMPLE
PS> .\clone-repos.ps1 C:\MyRepos
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
Author: Markus Fleschutz
License: CC0
#>
param([string]$ParentDir = "$PWD")

View File

@ -2,14 +2,13 @@
.SYNOPSIS
close-calculator.ps1
.DESCRIPTION
Closes the calculator program gracefully
Closes the calculator program gracefully.
.EXAMPLE
PS> .\close-calculator.ps1
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
Author: Markus Fleschutz
License: CC0
#>
& "$PSScriptRoot/close-program.ps1" "Calculator" "Calculator" "calc"

View File

@ -2,14 +2,13 @@
.SYNOPSIS
close-chrome.ps1
.DESCRIPTION
Closes the Web browser Google Chrome gracefully
Closes the Web browser Google Chrome gracefully.
.EXAMPLE
PS> .\close-chrome.ps1
.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"

View File

@ -2,14 +2,13 @@
.SYNOPSIS
close-cortana.ps1
.DESCRIPTION
Closes Cortana gracefully
Closes Cortana gracefully.
.EXAMPLE
PS> .\close-cortana.ps1
.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"

View File

@ -2,14 +2,13 @@
.SYNOPSIS
close-edge.ps1
.DESCRIPTION
Closes the Web browser Microsoft Edge gracefully
Closes the Web browser Microsoft Edge gracefully.
.EXAMPLE
PS> .\close-edge.ps1
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
Author: Markus Fleschutz
License: CC0
#>
& "$PSScriptRoot/close-program.ps1" "Microsoft Edge" "msedge" "msedge"

View File

@ -2,14 +2,13 @@
.SYNOPSIS
close-file-explorer.ps1
.DESCRIPTION
Closes Microsoft File Explorer gracefully
Closes Microsoft File Explorer gracefully.
.EXAMPLE
PS> .\close-file-explorer.ps1
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
Author: Markus Fleschutz
License: CC0
#>
& "$PSScriptRoot/close-program.ps1" "File Explorer" "explorer" "explorer"

View File

@ -2,14 +2,13 @@
.SYNOPSIS
close-firefox.ps1
.DESCRIPTION
Closes the Firefox Web browser gracefully
Closes the Firefox Web browser gracefully.
.EXAMPLE
PS> .\close-firefox.ps1
.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"

View File

@ -2,14 +2,13 @@
.SYNOPSIS
close-netflix.ps1
.DESCRIPTION
Closes Netflix gracefully
Closes the Netflix program gracefully.
.EXAMPLE
PS> .\close-netflix.ps1
.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"

View File

@ -2,14 +2,13 @@
.SYNOPSIS
close-onedrive.ps1
.DESCRIPTION
Closes Microsoft OneDrive gracefully
Closes Microsoft OneDrive gracefully.
.EXAMPLE
PS> .\close-onedrive.ps1
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
Author: Markus Fleschutz
License: CC0
#>
& "$PSScriptRoot/close-program.ps1" "Microsoft OneDrive" "onedrive" "onedrive.exe"

View File

@ -2,14 +2,13 @@
.SYNOPSIS
close-program.ps1 [<full-program-name>] [<program-name>] [<program-alias-name>]
.DESCRIPTION
Closes the processes of the given program gracefully
Closes the processes of the given program gracefully.
.EXAMPLE
PS> .\close-program.ps1 "Google Chrome" "chrome.exe"
.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 = "")

View File

@ -2,14 +2,13 @@
.SYNOPSIS
close-system-settings.ps1
.DESCRIPTION
Closes the System Settings gracefully
Closes the System Settings gracefully.
.EXAMPLE
PS> .\close-system-settings.ps1
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
Author: Markus Fleschutz
License: CC0
#>
& "$PSScriptRoot/close-program.ps1" "System Settings" "SystemSettings" "SystemSettings"

View File

@ -2,14 +2,13 @@
.SYNOPSIS
close-thunderbird.ps1
.DESCRIPTION
Closes the mail client Mozilla Thunderbird gracefully
Closes the mail client Mozilla Thunderbird gracefully.
.EXAMPLE
PS> .\close-thunderbird.ps1
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
Author: Markus Fleschutz
License: CC0
#>
& "$PSScriptRoot/close-program.ps1" "Mozilla Thunderbird" "thunderbird" "thunderbird"

View File

@ -2,14 +2,13 @@
.SYNOPSIS
close-vlc.ps1
.DESCRIPTION
Closes the VLC media player gracefully
Closes the VLC media player gracefully.
.EXAMPLE
PS> .\close-vlc.ps1
.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"

View File

@ -2,14 +2,13 @@
.SYNOPSIS
close-windows-terminal.ps1
.DESCRIPTION
Closes Windows Terminal gracefully
Closes Windows Terminal gracefully.
.EXAMPLE
PS> .\close-windows-terminal.ps1
.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"

View File

@ -2,14 +2,13 @@
.SYNOPSIS
configure-git.ps1 [<full-name>] [<email-address>] [<favorite-editor>]
.DESCRIPTION
Sets up the Git user configuration
Sets up the Git user configuration.
.EXAMPLE
PS> .\configure-git.ps1
.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 = "")

View File

@ -2,14 +2,13 @@
.SYNOPSIS
convert-csv2txt.ps1 [<csv-file>]
.DESCRIPTION
Converts the given CSV file into a text list
Converts a .CSV file into a text file.
.EXAMPLE
PS> .\convert-csv2txt.ps1 salaries.csv
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
Author: Markus Fleschutz
License: CC0
#>
param([string]$Path = "")

View File

@ -2,14 +2,13 @@
.SYNOPSIS
convert-mysql2csv.ps1 [<server>] [<database>] [<username>] [<password>] [<query>]
.DESCRIPTION
Convert the MySQL database table to a CSV file
Convert a MySQL database table to a .CSV file.
.EXAMPLE
PS> .\convert-mysql2csv.ps1
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
Author: Markus Fleschutz
License: CC0
#>

View File

@ -2,14 +2,13 @@
.SYNOPSIS
convert-ps2bat.ps1 [<pattern>]
.DESCRIPTION
Converts PowerShell script(s) to .bat files
Converts a PowerShell script to .bat files.
.EXAMPLE
PS> .\convert-ps2bat.ps1 *.ps1
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
Author: Markus Fleschutz
License: CC0
#>
param([string]$Pattern = "")

View File

@ -2,7 +2,7 @@
.SYNOPSIS
convert-ps2md.ps1 [<script>]
.DESCRIPTION
Converts the comment-based help of a PowerShell script to Markdown
Converts the comment-based help of a PowerShell script to Markdown.
.EXAMPLE
PS> .\convert-ps2md.ps1 myscript.ps1
.NOTES

View File

@ -2,14 +2,13 @@
.SYNOPSIS
convert-sql2csv.ps1 [<server>] [<database>] [<username>] [<password>] [<query>]
.DESCRIPTION
Convert the SQL database table to a CSV file
Converts a SQL database table to a .CSV file.
.EXAMPLE
PS> .\convert-sql2csv.ps1
.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 = "")

View File

@ -2,14 +2,13 @@
.SYNOPSIS
convert-txt2wav.ps1 [<text>] [<wav-file>]
.DESCRIPTION
Converts the given text to a .WAV audio file
Converts text to a .WAV audio file.
.EXAMPLE
PS> .\convert-txt2wav.ps1 "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 = "")

View File

@ -2,14 +2,13 @@
.SYNOPSIS
copy-photos-sorted.ps1 [<source-dir>] [<target-dir-tree>]
.DESCRIPTION
Copies all photos in source-dir sorted by year and month into the target-dir-tree
Copies all photos in source-dir sorted by year and month into the target-dir-tree.
.EXAMPLE
PS> .\copy-photos-sorted.ps1 C:\MyPhotos C:\MyPhotoAlbum
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
Author: Markus Fleschutz
License: CC0
#>
param([string]$SourceDir = "", [string]$TargetDirTree = "")

View File

@ -2,14 +2,13 @@
.SYNOPSIS
create-branch.ps1 [<new-branch-name>] [<repo-dir>]
.DESCRIPTION
Creates and switches to a new branch in a Git repository
Creates and switches to a new branch in a Git repository.
.EXAMPLE
PS> .\create-branch.ps1 moonshot
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
Author: Markus Fleschutz
License: CC0
#>
param([string]$NewBranchName = "", [string]$RepoDir = "$PWD")

View File

@ -2,14 +2,13 @@
.SYNOPSIS
create-shortcut.ps1 [<shortcut>] [<target>] [<description>]
.DESCRIPTION
Creates a new shortcut file
Creates a new shortcut file.
.EXAMPLE
PS> .\create-shortcut.ps1 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)

View File

@ -2,14 +2,13 @@
.SYNOPSIS
create-symlink.ps1 [<symlink>] [<target>]
.DESCRIPTION
Creates a symbolic link file
Creates a symbolic link file.
.EXAMPLE
PS> .\create-symlink.ps1 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 = "")

View File

@ -2,14 +2,13 @@
.SYNOPSIS
create-tag.ps1 [<new-tag-name>] [<repo-dir>]
.DESCRIPTION
Creates a new tag in a Git repository
Creates a new tag in a Git repository.
.EXAMPLE
PS> .\create-tag.ps1 v1.7
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
Author: Markus Fleschutz
License: CC0
Author: Markus Fleschutz · License: CC0
#>
param([string]$NewTagName = "", [string]$RepoDir = "$PWD")

View File

@ -2,14 +2,13 @@
.SYNOPSIS
decrypt-file.ps1 [<path>] [<password>]
.DESCRIPTION
Decrypts the given file
Decrypts the given file.
.EXAMPLE
PS> .\decrypt-file-rules.ps1 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 = "")

View File

@ -2,14 +2,13 @@
.SYNOPSIS
display-time.ps1 [<seconds>]
.DESCRIPTION
Displays the current time (for 10 seconds by default)
Displays the current time (for 10 seconds by default).
.EXAMPLE
PS> .\display-time.ps1
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
Author: Markus Fleschutz
License: CC0
#>
param([int]$Seconds = 10)

View File

@ -2,14 +2,13 @@
.SYNOPSIS
download-dir.ps1 [<URL>]
.DESCRIPTION
Downloads a directory tree from the given URL
Downloads a directory tree from the given URL.
.EXAMPLE
PS> .\download-dir.ps1 "https://www.cnn.com"
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
Author: Markus Fleschutz
License: CC0
#>
param([string]$URL = "")

View File

@ -2,14 +2,13 @@
.SYNOPSIS
download-file.ps1 [<URL>]
.DESCRIPTION
Downloads a file from the given URL
Downloads a file from the given URL.
.EXAMPLE
PS> .\download-file.ps1 "https://www.cnn.com/index.html"
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
Author: Markus Fleschutz
License: CC0
#>
param([string]$URL = "")

View File

@ -2,14 +2,13 @@
.SYNOPSIS
edit.ps1 <filename>
.DESCRIPTION
Opens the built-in text editor to edit the given file
Opens the built-in text editor to edit the given file.
.EXAMPLE
PS> .\edit.ps1 C:\MyFile.txt
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
Author: Markus Fleschutz
License: CC0
#>
param([string]$Filename = "")

View File

@ -2,14 +2,13 @@
.SYNOPSIS
enable-crash-dumps.ps1
.DESCRIPTION
Enables the writing of crash dumps
Enables the writing of crash dumps.
.EXAMPLE
PS> .\enable-crash-dumps.ps1
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
Author: Markus Fleschutz
License: CC0
#>
##################################################################

View File

@ -2,14 +2,13 @@
.SYNOPSIS
enable-god-mode.ps1
.DESCRIPTION
Enables the god mode (adds a new icon to the desktop)
Enables the god mode (adds a new icon to the desktop).
.EXAMPLE
PS> .\enable-god-mode.ps1
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
Author: Markus Fleschutz
License: CC0
#>
try {

View File

@ -2,14 +2,13 @@
.SYNOPSIS
encrypt-file.ps1 [<path>] [<password>]
.DESCRIPTION
Encrypts the given file
Encrypts the given file.
.EXAMPLE
PS> .\encrypt-file.ps1 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 = "")

View File

@ -1,4 +1,17 @@
# make sure you adjust this path
<#
.SYNOPSIS
enter-chat.ps1
.DESCRIPTION
Enters a chat using a common network shared file.
.EXAMPLE
PS> .\enter-chat.ps1
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
#>
# make sure you adjust this path
# it must point to a network share where you have read and write permissions
$ServerShare = "\\myserver\chathome"

View File

@ -2,14 +2,13 @@
.SYNOPSIS
fetch-repo.ps1 [<repo-dir>]
.DESCRIPTION
Fetches updates for a local Git repository (including submodules)
Fetches updates for a local Git repository (including submodules).
.EXAMPLE
PS> .\fetch-repo.ps1
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
Author: Markus Fleschutz
License: CC0
#>
param([string]$RepoDir = "$PWD")

View File

@ -2,14 +2,13 @@
.SYNOPSIS
fetch-repos.ps1 [<parent-dir>]
.DESCRIPTION
Fetches updates for all Git repositories under the current/given directory (including submodules)
Fetches updates for all Git repositories under the current/given directory (including submodules).
.EXAMPLE
PS> .\fetch-repos.ps1 C:\MyRepos
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
Author: Markus Fleschutz
License: CC0
#>
param([string]$ParentDir = "$PWD")

View File

@ -2,14 +2,13 @@
.SYNOPSIS
generate-qrcode.ps1 [<text>] [<image-size>]
.DESCRIPTION
Generates a QR code image file
Generates a QR code image file.
.EXAMPLE
PS> .\generate-qrcode.ps1
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
Author: Markus Fleschutz
License: CC0
#>
param([string]$Text = "", [string]$ImageSize = "")

View File

@ -1,19 +1,17 @@
<#
#Requires -RunAsAdministrator
<#
.SYNOPSIS
hibernate.ps1
.DESCRIPTION
Enables hibernate mode for the local computer (needs admin rights)
Enables hibernate mode for the local computer (needs admin rights).
.EXAMPLE
PS> .\hibernate.ps1
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
Author: Markus Fleschutz
License: CC0
#>
#Requires -RunAsAdministrator
try {
[Void][System.Reflection.Assembly]::LoadWithPartialName("System.Windows.Forms")
[System.Windows.Forms.Application]::SetSuspendState("Hibernate", $false, $false);

View File

@ -2,14 +2,13 @@
.SYNOPSIS
inspect-exe.ps1 [<path-to-exe-file>]
.DESCRIPTION
Prints basic information of the given executable file
Prints basic information of the given executable file.
.EXAMPLE
PS> .\inspect-exe.ps1 C:\MyApp.exe
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
Author: Markus Fleschutz
License: CC0
#>
param([string]$PathToExe = "")

View File

@ -2,14 +2,13 @@
.SYNOPSIS
install-github-cli.ps1
.DESCRIPTION
Installs GitHub CLI
Installs GitHub CLI.
.EXAMPLE
PS> .\install-github-cli.ps1
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
Author: Markus Fleschutz
License: CC0
#>
try {

View File

@ -2,14 +2,13 @@
.SYNOPSIS
install-google-chrome.ps1
.DESCRIPTION
Installs the latest Google Chrome browser
Installs the latest Google Chrome browser.
.EXAMPLE
PS> .\install-google-chrome.ps1
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
Author: Markus Fleschutz
License: CC0
#>
try {

View File

@ -5,11 +5,10 @@
Installs the Knot Resolver (a DNS resolver daemon, needs admin rights).
.EXAMPLE
PS> .\install-knot-resolver.ps1
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
Author: Markus Fleschutz
License: CC0
#>
#Requires -RunAsAdministrator

View File

@ -5,11 +5,10 @@
Installs signal-cli from github.com/AsamK/signal-cli. See the Web page for the correct version number.
.EXAMPLE
PS> .\install-signal-cli.ps1 0.11.12
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
Author: Markus Fleschutz
License: CC0
#>
param([string]$Version = "")

View File

@ -1,19 +1,17 @@
<#
#Requires -RunAsAdministrator
<#
.SYNOPSIS
install-ssh-client.ps1
.DESCRIPTION
Installs the SSH client (needs admin rights)
Installs the SSH client (needs admin rights).
.EXAMPLE
PS> .\install-ssh-client.ps1
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
Author: Markus Fleschutz
License: CC0
#>
#Requires -RunAsAdministrator
try {
$StopWatch = [system.diagnostics.stopwatch]::startNew()

View File

@ -1,19 +1,17 @@
<#
#Requires -RunAsAdministrator
<#
.SYNOPSIS
install-ssh-server.ps1
.DESCRIPTION
Installs the SSH server (needs admin rights)
Installs the SSH server (needs admin rights).
.EXAMPLE
PS> .\install-ssh-server.ps1
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
Author: Markus Fleschutz
License: CC0
#>
#Requires -RunAsAdministrator
try {
$StopWatch = [system.diagnostics.stopwatch]::startNew()

View File

@ -1,19 +1,17 @@
<#
#Requires -RunAsAdministrator
<#
.SYNOPSIS
install-wsl.ps1
.DESCRIPTION
Installs Windows Subsystem for Linux (WSL), needs admin rights
Installs Windows Subsystem for Linux (WSL) - needs admin rights.
.EXAMPLE
PS> .\install-wsl.ps1
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
Author: Markus Fleschutz
License: CC0
#>
#Requires -RunAsAdministrator
try {
$StopWatch = [system.diagnostics.stopwatch]::startNew()

View File

@ -2,14 +2,13 @@
.SYNOPSIS
introduce-powershell.ps1
.DESCRIPTION
Introduces PowerShell to new users
Introduces PowerShell to new users.
.EXAMPLE
PS> .\introduce-powershell.ps1
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
Author: Markus Fleschutz
License: CC0
#>
try {

View File

@ -2,13 +2,13 @@
.SYNOPSIS
list-aliases.ps1
.DESCRIPTION
Lists all PowerShell aliases
Lists all PowerShell aliases.
.EXAMPLE
PS> .\list-aliases.ps1
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
#>
try {

View File

@ -2,14 +2,13 @@
.SYNOPSIS
list-anagrams.ps1 [<word>] [<columns>]
.DESCRIPTION
Lists all anagrams of the given word
Lists all anagrams of the given word.
.EXAMPLE
PS> .\list-anagrams.ps1 Markus
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
Author: Markus Fleschutz
License: CC0
#>
param([string]$Word = "", [int]$Columns = 8)

View File

@ -2,14 +2,13 @@
.SYNOPSIS
list-automatic-variables.ps1
.DESCRIPTION
Lists all automatic variables of PowerShell
Lists all automatic variables of PowerShell.
.EXAMPLE
PS> .\list-automatic-variables.ps1
.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)

View File

@ -2,14 +2,13 @@
.SYNOPSIS
list-branches.ps1 [<repo-dir>] [<pattern>]
.DESCRIPTION
Lists all branches in the current/given Git repository
Lists all branches in the current/given Git repository.
.EXAMPLE
PS> .\list-branches.ps1
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
Author: Markus Fleschutz
License: CC0
#>
param([string]$RepoDir = "$PWD", [string]$Pattern = "*")

View File

@ -2,14 +2,13 @@
.SYNOPSIS
list-cheat-sheet.ps1
.DESCRIPTION
Lists the PowerShell cheat sheet
Lists the PowerShell cheat sheet.
.EXAMPLE
PS> .\list-cheat-sheet.ps1
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
Author: Markus Fleschutz
License: CC0
#>
"PowerShell Cheat Sheet"

View File

@ -2,14 +2,13 @@
.SYNOPSIS
list-city-weather.ps1
.DESCRIPTION
List the current weather of cities world-wide (west to east)
List the current weather of cities world-wide (west to east).
.EXAMPLE
PS> .\list-city-weather.ps1
.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"

View File

@ -2,14 +2,13 @@
.SYNOPSIS
list-cli-tools.ps1
.DESCRIPTION
Lists available command-line interface (CLI) tools
Lists available command-line interface (CLI) tools.
.EXAMPLE
PS> .\list-cli-tools.ps1
.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)

View File

@ -2,14 +2,13 @@
.SYNOPSIS
list-clipboard.ps1
.DESCRIPTION
Lists the contents of the clipboard
Lists the contents of the clipboard.
.EXAMPLE
PS> .\list-clipboard.ps1
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
Author: Markus Fleschutz
License: CC0
#>
try {

View File

@ -2,14 +2,13 @@
.SYNOPSIS
list-cmdlets.ps1
.DESCRIPTION
Lists all PowerShell cmdlets
Lists all PowerShell cmdlets.
.EXAMPLE
PS> .\list-cmdlets.ps1
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
Author: Markus Fleschutz
License: CC0
#>
try {

View File

@ -2,14 +2,13 @@
.SYNOPSIS
list-commits.ps1 [<repo-dir>] [<format>]
.DESCRIPTION
Lists all commits in the current/given Git repository
Lists all commits in the current/given Git repository.
.EXAMPLE
PS> .\list-commits.ps1
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
Author: Markus Fleschutz
License: CC0
#>
param([string]$RepoDir = "$PWD", [string]$Format = "compact")

View File

@ -2,15 +2,13 @@
.SYNOPSIS
list-console-colors.ps1
.DESCRIPTION
Lists all console colors
Lists all console colors.
.EXAMPLE
PS> .\list-console-colors.ps1
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
Author: Markus Fleschutz
Creation Date: 2021-08-27
License: CC0
#>
try {

Some files were not shown because too many files have changed in this diff Show More