mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-11-23 00:13:36 +01:00
Change to #!/usr/bin/pwsh
This commit is contained in:
parent
958265793c
commit
009949ee76
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/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
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/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
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/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
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/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
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/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
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/usr/bin/pwsh
|
||||||
<#
|
<#
|
||||||
.SYNTAX ./check-cpu-temp.ps1
|
.SYNTAX ./check-cpu-temp.ps1
|
||||||
.DESCRIPTION checks the CPU temperature
|
.DESCRIPTION checks the CPU temperature
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/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
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/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
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/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)
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/usr/bin/pwsh
|
||||||
<#
|
<#
|
||||||
.SYNTAX ./check-health.ps1
|
.SYNTAX ./check-health.ps1
|
||||||
.DESCRIPTION checks the system health
|
.DESCRIPTION checks the system health
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/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
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/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
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/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
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/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
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/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
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/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
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/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)
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/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
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/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
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/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)
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/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.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/usr/bin/pwsh
|
||||||
<#
|
<#
|
||||||
.SYNTAX ./close-calculator.ps1
|
.SYNTAX ./close-calculator.ps1
|
||||||
.DESCRIPTION closes the calculator program gracefully
|
.DESCRIPTION closes the calculator program gracefully
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/usr/bin/pwsh
|
||||||
<#
|
<#
|
||||||
.SYNTAX ./close-chrome.ps1
|
.SYNTAX ./close-chrome.ps1
|
||||||
.DESCRIPTION closes Google Chrome gracefully
|
.DESCRIPTION closes Google Chrome gracefully
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/usr/bin/pwsh
|
||||||
<#
|
<#
|
||||||
.SYNTAX ./close-cortana.ps1
|
.SYNTAX ./close-cortana.ps1
|
||||||
.DESCRIPTION closes Cortana gracefully
|
.DESCRIPTION closes Cortana gracefully
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/usr/bin/pwsh
|
||||||
<#
|
<#
|
||||||
.SYNTAX ./close-edge.ps1
|
.SYNTAX ./close-edge.ps1
|
||||||
.DESCRIPTION closes Microsoft Edge gracefully
|
.DESCRIPTION closes Microsoft Edge gracefully
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/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
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/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
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/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
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/usr/bin/pwsh
|
||||||
<#
|
<#
|
||||||
.SYNTAX ./close-thunderbird.ps1
|
.SYNTAX ./close-thunderbird.ps1
|
||||||
.DESCRIPTION closes Mozilla Thunderbird gracefully
|
.DESCRIPTION closes Mozilla Thunderbird gracefully
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/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
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/usr/bin/pwsh
|
||||||
<#
|
<#
|
||||||
.SYNTAX ./close-windows-terminal.ps1
|
.SYNTAX ./close-windows-terminal.ps1
|
||||||
.DESCRIPTION closes Windows Terminal gracefully
|
.DESCRIPTION closes Windows Terminal gracefully
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/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
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/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
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/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
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/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
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/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
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/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
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/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
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/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
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/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
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/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
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/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
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/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)
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/usr/bin/pwsh
|
||||||
<#
|
<#
|
||||||
.SYNTAX ./enable-ssh-client.ps1
|
.SYNTAX ./enable-ssh-client.ps1
|
||||||
.DESCRIPTION enables the SSH client
|
.DESCRIPTION enables the SSH client
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/usr/bin/pwsh
|
||||||
<#
|
<#
|
||||||
.SYNTAX ./enable-ssh-server.ps1
|
.SYNTAX ./enable-ssh-server.ps1
|
||||||
.DESCRIPTION enables the SSH server
|
.DESCRIPTION enables the SSH server
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/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
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/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)
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/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)
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/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
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/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
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/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
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/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
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/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)
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/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
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/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 (requires admin rights)
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/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
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/usr/bin/pwsh
|
||||||
<#
|
<#
|
||||||
.SYNTAX ./introduce-powershell.ps1
|
.SYNTAX ./introduce-powershell.ps1
|
||||||
.DESCRIPTION introduces PowerShell to new users
|
.DESCRIPTION introduces PowerShell to new users
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/usr/bin/pwsh
|
||||||
<#
|
<#
|
||||||
.SYNTAX ./list-aliases.ps1
|
.SYNTAX ./list-aliases.ps1
|
||||||
.DESCRIPTION lists all PowerShell aliases
|
.DESCRIPTION lists all PowerShell aliases
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/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
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/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
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/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
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/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
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/usr/bin/pwsh
|
||||||
<#
|
<#
|
||||||
.SYNTAX ./list-cmdlets.ps1
|
.SYNTAX ./list-cmdlets.ps1
|
||||||
.DESCRIPTION lists all PowerShell cmdlets
|
.DESCRIPTION lists all PowerShell cmdlets
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/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
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/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
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/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
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/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
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/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
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/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
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/usr/bin/pwsh
|
||||||
<#
|
<#
|
||||||
.SYNTAX ./list-environment-variables.ps1
|
.SYNTAX ./list-environment-variables.ps1
|
||||||
.DESCRIPTION lists all environment variables
|
.DESCRIPTION lists all environment variables
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/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
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/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
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/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
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/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
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/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
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/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
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/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)
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/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)
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/usr/bin/pwsh
|
||||||
<#
|
<#
|
||||||
.SYNTAX ./list-modules.ps1
|
.SYNTAX ./list-modules.ps1
|
||||||
.DESCRIPTION lists all PowerShell modules
|
.DESCRIPTION lists all PowerShell modules
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/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
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/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
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/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
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/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
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/usr/bin/pwsh
|
||||||
<#
|
<#
|
||||||
.SYNTAX ./list-processes.ps1
|
.SYNTAX ./list-processes.ps1
|
||||||
.DESCRIPTION lists the local computer processes
|
.DESCRIPTION lists the local computer processes
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/usr/bin/pwsh
|
||||||
<#
|
<#
|
||||||
.SYNTAX ./list-profiles.ps1
|
.SYNTAX ./list-profiles.ps1
|
||||||
.DESCRIPTION lists your PowerShell profiles
|
.DESCRIPTION lists your PowerShell profiles
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/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
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/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
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/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)
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/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
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/usr/bin/pwsh
|
||||||
<#
|
<#
|
||||||
.SYNTAX ./list-tasks.ps1
|
.SYNTAX ./list-tasks.ps1
|
||||||
.DESCRIPTION lists all Windows scheduler tasks
|
.DESCRIPTION lists all Windows scheduler tasks
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/usr/bin/pwsh
|
||||||
<#
|
<#
|
||||||
.SYNTAX ./list-timezones.ps1
|
.SYNTAX ./list-timezones.ps1
|
||||||
.DESCRIPTION lists all time zones available
|
.DESCRIPTION lists all time zones available
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/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>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/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
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/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
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/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
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/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
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/usr/bin/pwsh
|
||||||
<#
|
<#
|
||||||
.SYNTAX make-install.ps1 <build-dir>
|
.SYNTAX make-install.ps1 <build-dir>
|
||||||
.DESCRIPTION Copies newer EXE's + DLL's from the build directory to the installation directory.
|
.DESCRIPTION Copies newer EXE's + DLL's from the build directory to the installation directory.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/usr/bin/pwsh
|
||||||
<#
|
<#
|
||||||
.SYNTAX ./moon.ps1
|
.SYNTAX ./moon.ps1
|
||||||
.DESCRIPTION prints the current moon phase
|
.DESCRIPTION prints the current moon phase
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/usr/bin/pwsh
|
||||||
<#
|
<#
|
||||||
.SYNTAX ./mute-audio.ps1
|
.SYNTAX ./mute-audio.ps1
|
||||||
.DESCRIPTION mutes the audio
|
.DESCRIPTION mutes the audio
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/powershell
|
#!/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
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user