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
This PowerShell script creates a new junction, linking to a target folder. The target folder can reside on another disk.
junction Specifies the path and filename of the new junction
targetDir Specifies the path to the target directory
PS> ./new-junction.ps1 C:\User\Joe\D_drive D:β
New junction 'C:\User\Joe\D_drive' created, linking to: πD:Author: Markus Fleschutz | License: CC0
This PowerShell script creates an empty new directory in the filesystem.
path Specifies the path and filename of the new directory
PS> ./new-dir.ps1 MyCollectionβ
New πC:\Temp\MyCollection created.Author: Markus Fleschutz | License: CC0
This PowerShell script creates a new branch in a local Git repository and switches to it.
newBranch Specifies the new Git branch name
pathToRepo Specifies the file path to the local Git repository (current working directory per default)
PS> ./new-branch.ps1 test123β³ (1/6) Searching for Git executable... git version 2.45.0β³ (2/6) Checking local repository... C:\Repos\rustβ³ (3/6) Fetching remote updates... git@github.org:rust/rust.gitβ³ (4/6) Creating new branch...β³ (5/6) Pushing updates...β³ (6/6) Updating submodules...β
Created branch 'test123' based on 'main' in πrust repo in 18s.Author: Markus Fleschutz | License: CC0