This PowerShell script pings the given host.
hostname Specifies the hostname or IP address to ping (x.com by default)
PS> ./ping-host.ps1 x.com✅ 'x.com' is online (20ms to IP 104.244.42.1)Author: Markus Fleschutz | License: CC0
Cherry-picks a Git commit into one or more branches (branch names need to be separated by spaces) NOTE: in case of merge conflicts the script stops immediately!
CommitID Specifies the commit ID
CommitMessage Specifies the commit message to use
Branches Specifies the list of branches, separated by spaces
RepoDir Specifies the path to the Git repository
PS> ./pick-commit 93849f889 "Fix typo" "v1 v2 v3"Author: Markus Fleschutz | License: CC0
This PowerShell script launches a new tab in the default Web browser with the given URL.
URL Specifies the URL
text Specifies the text to write to the console
PS> ./open-URL.ps1 https://cnn.comAuthor: Markus Fleschutz | License: CC0
This PowerShell script creates a new user account with an encrypted home directory.
PS> ./new-user.ps1 Joe✅ Created user account 'Joe' with encrypted home directory in 11s.Author: Markus Fleschutz | License: CC0
This PowerShell script creates a new tag in a Git repository.
TagName Specifies the new tag name
RepoDir Specifies the path to the Git repository
PS> ./new-tag.ps1 v1.7Author: Markus Fleschutz | License: CC0
This PowerShell script creates a new symbolic link file, linking to a target.
symlink Specifies the file path to the new symlink file
target Specifies the file path to the target
PS> ./new-symlink.ps1 C:\User\Markus\Windows C:\Windows✅ Created new symlink 'C:\User\Markus\Windows' linking to: C:\WindowsAuthor: Markus Fleschutz | License: CC0
This PowerShell script creates a new SSH key for the user.
PS> ./new-ssh-key.ps1✅ New SSH key of Ed25519 type saved to ~/.ssh - your public key is:ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILb8s5zU9YDApGQ82H45fMKVPMr5cw9fzh3PEBjZZ+Rm markus@PIAuthor: Markus Fleschutz | License: CC0
This PowerShell script creates a new shortcut file.
shortcut Specifies the shortcut filename
target Specifies the path to the target
description Specifies a description
PS> ./new-shortcut C:\Temp\HDD C:\Author: Markus Fleschutz | License: CC0
This PowerShell script generates a new QR code image file.
text Specifies the text to use
imageSize Specifies the image size (width x height)
fileFormat Specifies the image file format
PS> ./new-qrcode.ps1 "Fasten seatbelt" 500x500 JPGAuthor: Markus Fleschutz | License: CC0