Omit the ./ in the syntax metadata

This commit is contained in:
Markus Fleschutz 2021-04-07 15:17:49 +02:00
parent 381c3b850f
commit 154a753707
167 changed files with 205 additions and 279 deletions

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./MD5.ps1 [<file>] .SYNTAX MD5.ps1 [<file>]
.DESCRIPTION prints the MD5 checksum of the given file .DESCRIPTION prints the MD5 checksum of the given file
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,16 +1,13 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./SHA1.ps1 [<file>] .SYNTAX SHA1.ps1 [<file>]
.DESCRIPTION prints the SHA1 checksum of the given file .DESCRIPTION prints the SHA1 checksum of the given file
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0
#> #>
param($File = "") param($File = "")
if ($File -eq "" ) { $File = read-host "Enter the filename" }
if ($File -eq "" ) {
$File = read-host "Enter the filename"
}
try { try {
$Result = get-filehash $File -algorithm SHA1 $Result = get-filehash $File -algorithm SHA1

View File

@ -1,16 +1,13 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./SHA256.ps1 [<file>] .SYNTAX SHA256.ps1 [<file>]
.DESCRIPTION prints the SHA256 checksum of the given file .DESCRIPTION prints the SHA256 checksum of the given file
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0
#> #>
param($File = "") param($File = "")
if ($File -eq "" ) { $File = read-host "Enter the filename" }
if ($File -eq "" ) {
$File = read-host "Enter the filename"
}
try { try {
$Result = get-filehash $File -algorithm SHA256 $Result = get-filehash $File -algorithm SHA256

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./add-firewall-rules.ps1 [<path-to-executables>] .SYNTAX add-firewall-rules.ps1 [<path-to-executables>]
.DESCRIPTION adds firewall rules for the given executables, administrator rights are required .DESCRIPTION adds firewall rules for the given executables, administrator rights are required
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./alert.ps1 [<message>] .SYNTAX alert.ps1 [<message>]
.DESCRIPTION handle and escalate the given alert message .DESCRIPTION handle and escalate the given alert message
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./check-cpu-temp.ps1 .SYNTAX check-cpu-temp.ps1
.DESCRIPTION checks the CPU temperature .DESCRIPTION checks the CPU temperature
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./check-dns-resolution.ps1 .SYNTAX check-dns-resolution.ps1
.DESCRIPTION checks the DNS resolution with frequently used domain names .DESCRIPTION checks the DNS resolution with frequently used domain names
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./check-drive-space.ps1 [<drive>] [<min-level>] .SYNTAX check-drive-space.ps1 [<drive>] [<min-level>]
.DESCRIPTION checks the given drive for free space left .DESCRIPTION checks the given drive for free space left
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./check-file-system.ps1 [<drive>] .SYNTAX check-file-system.ps1 [<drive>]
.DESCRIPTION checks the validity of the file system (needs admin rights) .DESCRIPTION checks the validity of the file system (needs admin rights)
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,7 +1,7 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./check-health.ps1 .SYNTAX check-health.ps1
.DESCRIPTION checks the system health .DESCRIPTION checks the health of the local computer
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0
#> #>

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./check-ipv4-address.ps1 [<address>] .SYNTAX check-ipv4-address.ps1 [<address>]
.DESCRIPTION checks the given IPv4 address for validity .DESCRIPTION checks the given IPv4 address for validity
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./check-ipv6-address.ps1 [<address>] .SYNTAX check-ipv6-address.ps1 [<address>]
.DESCRIPTION checks the given IPv6 address for validity .DESCRIPTION checks the given IPv6 address for validity
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./check-mac-address.ps1 [<MAC>] .SYNTAX check-mac-address.ps1 [<MAC>]
.DESCRIPTION checks the given MAC address for validity .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 MAC address like 00:00:00:00:00:00 or 00-00-00-00-00-00 or 000000000000
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./check-ping.ps1 .SYNTAX check-ping.ps1
.DESCRIPTION checks the ping latency to the internet .DESCRIPTION checks the ping latency to the internet
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./check-swap-space.ps1 [<min-level>] .SYNTAX check-swap-space.ps1 [<min-level>]
.DESCRIPTION checks the free swap space .DESCRIPTION checks the free swap space
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./check-symlinks.ps1 [<dir-tree>] .SYNTAX check-symlinks.ps1 [<dir-tree>]
.DESCRIPTION checks every symlink in the given directory tree .DESCRIPTION checks every symlink in the given directory tree
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./check-windows-system-files.ps1 .SYNTAX check-windows-system-files.ps1
.DESCRIPTION checks the validity of the Windows system files (requires admin rights) .DESCRIPTION checks the validity of the Windows system files (requires admin rights)
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./check-xml-file [<file>] .SYNTAX check-xml-file [<file>]
.DESCRIPTION checks the given XML file for validity .DESCRIPTION checks the given XML file for validity
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./cherry-picker.ps1 [<commit-id>] [<commit-message>] [<branches>] [<repo-dir>] .SYNTAX cherry-picker.ps1 [<commit-id>] [<commit-message>] [<branches>] [<repo-dir>]
.DESCRIPTION cherry-picks a Git commit into multiple branches .DESCRIPTION cherry-picks a Git commit into multiple branches
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./clean-repo.ps1 [<repo-dir>] .SYNTAX clean-repo.ps1 [<repo-dir>]
.DESCRIPTION cleans the current/given Git repository from untracked files (including submodules, e.g. for a fresh build) .DESCRIPTION cleans the current/given Git repository from untracked files (including submodules, e.g. for a fresh build)
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./clone-repos.ps1 [<target-dir>] .SYNTAX clone-repos.ps1 [<target-dir>]
.DESCRIPTION clones well-known Git repositories into the current/given directory. .DESCRIPTION clones well-known Git repositories into the current/given directory.
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./close-calculator.ps1 .SYNTAX close-calculator.ps1
.DESCRIPTION closes the calculator program gracefully .DESCRIPTION closes the calculator program gracefully
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./close-chrome.ps1 .SYNTAX close-chrome.ps1
.DESCRIPTION closes Google Chrome gracefully .DESCRIPTION closes Google Chrome gracefully
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./close-cortana.ps1 .SYNTAX close-cortana.ps1
.DESCRIPTION closes Cortana gracefully .DESCRIPTION closes Cortana gracefully
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./close-edge.ps1 .SYNTAX close-edge.ps1
.DESCRIPTION closes Microsoft Edge gracefully .DESCRIPTION closes Microsoft Edge gracefully
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./close-file-explorer.ps1 .SYNTAX close-file-explorer.ps1
.DESCRIPTION closes Microsoft File Explorer gracefully .DESCRIPTION closes Microsoft File Explorer gracefully
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./close-program.ps1 [<full-program-name>] [<program-name>] [<program-alias-name>] .SYNTAX close-program.ps1 [<full-program-name>] [<program-name>] [<program-alias-name>]
.DESCRIPTION closes the processes of the given program gracefully .DESCRIPTION closes the processes of the given program gracefully
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./close-system-settings.ps1 .SYNTAX close-system-settings.ps1
.DESCRIPTION closes the System Settings gracefully .DESCRIPTION closes the System Settings gracefully
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./close-thunderbird.ps1 .SYNTAX close-thunderbird.ps1
.DESCRIPTION closes Mozilla Thunderbird gracefully .DESCRIPTION closes Mozilla Thunderbird gracefully
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./close-vlc.ps1 .SYNTAX close-vlc.ps1
.DESCRIPTION closes the VLC media player gracefully .DESCRIPTION closes the VLC media player gracefully
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./close-windows-terminal.ps1 .SYNTAX close-windows-terminal.ps1
.DESCRIPTION closes Windows Terminal gracefully .DESCRIPTION closes Windows Terminal gracefully
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./configure-git.ps1 [<full-name>] [<email-address>] [<favorite-editor>] .SYNTAX configure-git.ps1 [<full-name>] [<email-address>] [<favorite-editor>]
.DESCRIPTION sets up the Git user configuration .DESCRIPTION sets up the Git user configuration
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./create-branch.ps1 [<new-branch-name>] [<repo-dir>] .SYNTAX create-branch.ps1 [<new-branch-name>] [<repo-dir>]
.DESCRIPTION creates a new branch in the current/given Git repository .DESCRIPTION creates a new branch in the current/given Git repository
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./create-shortcut.ps1 [<shortcut>] [<target>] [<description>] .SYNTAX create-shortcut.ps1 [<shortcut>] [<target>] [<description>]
.DESCRIPTION creates a new shortcut .DESCRIPTION creates a new shortcut
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./create-symlink.ps1 [<symlink>] [<target>] .SYNTAX create-symlink.ps1 [<symlink>] [<target>]
.DESCRIPTION creates a symbolic link .DESCRIPTION creates a symbolic link
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./create-tag.ps1 [<new-tag-name>] [<repo-dir>] .SYNTAX create-tag.ps1 [<new-tag-name>] [<repo-dir>]
.DESCRIPTION creates a new tag in the current/given Git repository .DESCRIPTION creates a new tag in the current/given Git repository
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./csv-to-text.ps1 [<csv-file>] .SYNTAX csv-to-text.ps1 [<csv-file>]
.DESCRIPTION converts the given CSV file into a text list .DESCRIPTION converts the given CSV file into a text list
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./decrypt-file.ps1 [<path>] [<password>] .SYNTAX decrypt-file.ps1 [<path>] [<password>]
.DESCRIPTION decrypts the given file .DESCRIPTION decrypts the given file
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./display-time.ps1 [<seconds>] .SYNTAX display-time.ps1 [<seconds>]
.DESCRIPTION displays the current time for 10 seconds by default .DESCRIPTION displays the current time for 10 seconds by default
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./download.ps1 [<URL>] .SYNTAX download.ps1 [<URL>]
.DESCRIPTION downloads the file/directory from the given URL .DESCRIPTION downloads the file/directory from the given URL
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./edit.ps1 <filename> .SYNTAX edit.ps1 <filename>
.DESCRIPTION starts the built-in text editor to edit the given file .DESCRIPTION starts the built-in text editor to edit the given file
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./enable-crash-dumps.ps1 .SYNTAX enable-crash-dumps.ps1
.DESCRIPTION enables the writing of crash dumps .DESCRIPTION enables the writing of crash dumps
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./enable-god-mode.ps1 .SYNTAX enable-god-mode.ps1
.DESCRIPTION enables the god mode (adds a new icon to the desktop) .DESCRIPTION enables the god mode (adds a new icon to the desktop)
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./enable-ssh-client.ps1 .SYNTAX enable-ssh-client.ps1
.DESCRIPTION enables the SSH client (needs admin rights) .DESCRIPTION enables the SSH client (needs admin rights)
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./enable-ssh-server.ps1 .SYNTAX enable-ssh-server.ps1
.DESCRIPTION enables the SSH server (needs admin rights) .DESCRIPTION enables the SSH server (needs admin rights)
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./encrypt-file.ps1 [<path>] [<password>] .SYNTAX encrypt-file.ps1 [<path>] [<password>]
.DESCRIPTION encrypts the given file .DESCRIPTION encrypts the given file
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./fetch-repo.ps1 [<repo-dir>] .SYNTAX fetch-repo.ps1 [<repo-dir>]
.DESCRIPTION fetches updates for the current/given Git repository (including submodules) .DESCRIPTION fetches updates for the current/given Git repository (including submodules)
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./fetch-repos.ps1 [<parent-dir>] .SYNTAX fetch-repos.ps1 [<parent-dir>]
.DESCRIPTION fetches updates for all Git repositories under the current/given directory (including submodules) .DESCRIPTION fetches updates for all Git repositories under the current/given directory (including submodules)
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,19 +1,14 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./generate-qrcode.ps1 [<text>] [<image-size>] .SYNTAX generate-qrcode.ps1 [<text>] [<image-size>]
.DESCRIPTION generates a QR code .DESCRIPTION generates a QR code
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0
#> #>
param($Text = "", $ImageSize = "") param($Text = "", $ImageSize = "")
if ($Text -eq "") { $Text = read-host "Enter text or URL" }
if ($Text -eq "") { if ($ImageSize -eq "") { $ImageSize = read-host "Enter image size (e.g. 500x500)" }
$Text = read-input "Enter text or URL"
}
if ($ImageSize -eq "") {
$ImageSize = read-input "Enter image size (e.g. 500x500)"
}
try { try {
$ECC = "M" # can be L, M, Q, H $ECC = "M" # can be L, M, Q, H

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./go-downloads.ps1 .SYNTAX go-downloads.ps1
.DESCRIPTION go to the user's downloads folder .DESCRIPTION go to the user's downloads folder
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./go-home.ps1 .SYNTAX go-home.ps1
.DESCRIPTION go to the user's home folder .DESCRIPTION go to the user's home folder
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./go-music.ps1 .SYNTAX go-music.ps1
.DESCRIPTION go to the user's music folder .DESCRIPTION go to the user's music folder
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./go-root.ps1 .SYNTAX go-root.ps1
.DESCRIPTION go to the root directory (C: on Windows) .DESCRIPTION go to the root directory (C: on Windows)
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./go-scripts.ps1 .SYNTAX go-scripts.ps1
.DESCRIPTION go to the PowerShell Scripts folder .DESCRIPTION go to the PowerShell Scripts folder
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,7 +1,7 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./hibernate.ps1 .SYNTAX hibernate.ps1
.DESCRIPTION enables hibernate mode for the local computer (requires admin rights) .DESCRIPTION enables hibernate mode for the local computer (needs admin rights)
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0
#> #>

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./inspect-exe.ps1 [<path-to-exe-file>] .SYNTAX inspect-exe.ps1 [<path-to-exe-file>]
.DESCRIPTION prints basic information of the given executable file .DESCRIPTION prints basic information of the given executable file
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./introduce-powershell.ps1 .SYNTAX introduce-powershell.ps1
.DESCRIPTION introduces PowerShell to new users .DESCRIPTION introduces PowerShell to new users
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./list-aliases.ps1 .SYNTAX list-aliases.ps1
.DESCRIPTION lists all PowerShell aliases .DESCRIPTION lists all PowerShell aliases
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./list-anagrams.ps1 [<word>] [<columns>] .SYNTAX list-anagrams.ps1 [<word>] [<columns>]
.DESCRIPTION lists all anagrams of the given word .DESCRIPTION lists all anagrams of the given word
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./list-automatic-variables.ps1 .SYNTAX list-automatic-variables.ps1
.DESCRIPTION lists the automatic variables of PowerShell .DESCRIPTION lists the automatic variables of PowerShell
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./list-branches.ps1 [<repo-dir>] [<pattern>] .SYNTAX list-branches.ps1 [<repo-dir>] [<pattern>]
.DESCRIPTION lists all branches in the current/given Git repository .DESCRIPTION lists all branches in the current/given Git repository
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./list-clipboard.ps1 .SYNTAX list-clipboard.ps1
.DESCRIPTION lists the contents of the clipboard .DESCRIPTION lists the contents of the clipboard
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./list-cmdlets.ps1 .SYNTAX list-cmdlets.ps1
.DESCRIPTION lists all PowerShell cmdlets .DESCRIPTION lists all PowerShell cmdlets
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./list-commits.ps1 [<repo-dir>] [<format>] .SYNTAX list-commits.ps1 [<repo-dir>] [<format>]
.DESCRIPTION lists all commits in the current/given Git repository .DESCRIPTION lists all commits in the current/given Git repository
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./list-current-timezone.ps1 .SYNTAX list-current-timezone.ps1
.DESCRIPTION lists the details of the current time zone .DESCRIPTION lists the details of the current time zone
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./list-drives.ps1 .SYNTAX list-drives.ps1
.DESCRIPTION lists all drives connected to the computer .DESCRIPTION lists all drives connected to the computer
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./list-earthquakes.ps1 .SYNTAX list-earthquakes.ps1
.DESCRIPTION lists earthquakes with magnitude >= 6.0 for the last 30 days .DESCRIPTION lists earthquakes with magnitude >= 6.0 for the last 30 days
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./list-empty-dirs.ps1 [<dir-tree>] .SYNTAX list-empty-dirs.ps1 [<dir-tree>]
.DESCRIPTION lists empty subfolders within the given directory tree .DESCRIPTION lists empty subfolders within the given directory tree
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./list-empty-files.ps1 [<dir-tree>] .SYNTAX list-empty-files.ps1 [<dir-tree>]
.DESCRIPTION lists empty files within the given directory tree .DESCRIPTION lists empty files within the given directory tree
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./list-environment-variables.ps1 .SYNTAX list-environment-variables.ps1
.DESCRIPTION lists all environment variables .DESCRIPTION lists all environment variables
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./list-files.ps1 [<folder>] .SYNTAX list-files.ps1 [<folder>]
.DESCRIPTION lists all files in the given folder and also in every subfolder .DESCRIPTION lists all files in the given folder and also in every subfolder
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./list-formatted.ps1 [<directory>] .SYNTAX list-formatted.ps1 [<directory>]
.DESCRIPTION lists the current working directory formatted in columns .DESCRIPTION lists the current working directory formatted in columns
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./list-fritzbox-calls.ps1 [<username>] [<password>] .SYNTAX list-fritzbox-calls.ps1 [<username>] [<password>]
.DESCRIPTION lists the phone calls of the FRITZ!Box device .DESCRIPTION lists the phone calls of the FRITZ!Box device
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./list-fritzbox-calls.ps1 [<username>] [<password>] .SYNTAX list-fritzbox-calls.ps1 [<username>] [<password>]
.DESCRIPTION lists FRITZ!Box's known devices .DESCRIPTION lists FRITZ!Box's known devices
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./list-hidden-files.ps1 [<dir-tree>] .SYNTAX list-hidden-files.ps1 [<dir-tree>]
.DESCRIPTION lists hidden files within the given directory tree .DESCRIPTION lists hidden files within the given directory tree
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./list-installed-apps.ps1 .SYNTAX list-installed-apps.ps1
.DESCRIPTION lists the installed Windows Store apps .DESCRIPTION lists the installed Windows Store apps
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./list-installed-software.ps1 .SYNTAX list-installed-software.ps1
.DESCRIPTION lists the installed software (except Windows Store apps) .DESCRIPTION lists the installed software (except Windows Store apps)
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./list-logbook.ps1 .SYNTAX list-logbook.ps1
.DESCRIPTION lists the content of the logbook (in ../Data/logbook.csv) .DESCRIPTION lists the content of the logbook (in ../Data/logbook.csv)
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./list-modules.ps1 .SYNTAX list-modules.ps1
.DESCRIPTION lists all PowerShell modules .DESCRIPTION lists all PowerShell modules
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./list-network-shares.ps1 .SYNTAX list-network-shares.ps1
.DESCRIPTION lists the network shares of the local computer .DESCRIPTION lists the network shares of the local computer
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./list-news.ps1 [<RSS-URL>] .SYNTAX list-news.ps1 [<RSS-URL>]
.DESCRIPTION lists the latest news .DESCRIPTION lists the latest news
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./list-os-releases.ps1 .SYNTAX list-os-releases.ps1
.DESCRIPTION lists OS releases and download URL .DESCRIPTION lists OS releases and download URL
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./list-printers.ps1 .SYNTAX list-printers.ps1
.DESCRIPTION lists all printer known to the computer .DESCRIPTION lists all printer known to the computer
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./list-processes.ps1 .SYNTAX list-processes.ps1
.DESCRIPTION lists the local computer processes .DESCRIPTION lists the local computer processes
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./list-profiles.ps1 .SYNTAX list-profiles.ps1
.DESCRIPTION lists your PowerShell profiles .DESCRIPTION lists your PowerShell profiles
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./list-random-passwords.ps1 .SYNTAX list-random-passwords.ps1
.DESCRIPTION prints a list of random passwords .DESCRIPTION prints a list of random passwords
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./list-random-pins.ps1 [<pin-length>] [<columns>] [<rows>] .SYNTAX list-random-pins.ps1 [<pin-length>] [<columns>] [<rows>]
.DESCRIPTION prints a list of random PIN's .DESCRIPTION prints a list of random PIN's
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./list-scripts.ps1 .SYNTAX list-scripts.ps1
.DESCRIPTION lists all PowerShell scripts in this repository (sorted alphabetically) .DESCRIPTION lists all PowerShell scripts in this repository (sorted alphabetically)
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./list-tags.ps1 [<repo-dir>] [<pattern>] .SYNTAX list-tags.ps1 [<repo-dir>] [<pattern>]
.DESCRIPTION lists all tags in the current/given Git repository .DESCRIPTION lists all tags in the current/given Git repository
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./list-tasks.ps1 .SYNTAX list-tasks.ps1
.DESCRIPTION lists all Windows scheduler tasks .DESCRIPTION lists all Windows scheduler tasks
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./list-timezones.ps1 .SYNTAX list-timezones.ps1
.DESCRIPTION lists all time zones available .DESCRIPTION lists all time zones available
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./list-unused-files.ps1 <dirtree> <days> .SYNTAX list-unused-files.ps1 <dirtree> <days>
.DESCRIPTION lists files in the <directory tree> with last access time older than <days> .DESCRIPTION lists files in the <directory tree> with last access time older than <days>
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./list-user-groups.ps1 .SYNTAX list-user-groups.ps1
.DESCRIPTION lists the user groups on the local computer .DESCRIPTION lists the user groups on the local computer
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./locate-city.ps1 [<city>] .SYNTAX locate-city.ps1 [<city>]
.DESCRIPTION prints the geographic location of the given city .DESCRIPTION prints the geographic location of the given city
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./locate-ipaddress.ps1 [<IPaddress>] .SYNTAX locate-ipaddress.ps1 [<IPaddress>]
.DESCRIPTION prints the geographic location of the given IP address .DESCRIPTION prints the geographic location of the given IP address
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./locate-zip-code.ps1 [<country-code>] [<zip-code>] .SYNTAX locate-zip-code.ps1 [<country-code>] [<zip-code>]
.DESCRIPTION prints the geographic location of the given zip-code .DESCRIPTION prints the geographic location of the given zip-code
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./moon.ps1 .SYNTAX moon.ps1
.DESCRIPTION prints the current moon phase .DESCRIPTION prints the current moon phase
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./mute-audio.ps1 .SYNTAX mute-audio.ps1
.DESCRIPTION mutes the audio .DESCRIPTION mutes the audio
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./new-email.ps1 [<address>] .SYNTAX new-email.ps1 [<address>]
.DESCRIPTION starts the default email client to write a new email .DESCRIPTION starts the default email client to write a new email
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

View File

@ -1,6 +1,6 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX ./next-joke.ps1 .SYNTAX next-joke.ps1
.DESCRIPTION gets the next random Juck Norris joke .DESCRIPTION gets the next random Juck Norris joke
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0

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