Collection of PowerShell modules, utilities and config files.
These PowerShell commands include tools for programming in VisualStudio(R), Git source code management, signing code and various system utilities.
They make use of the following external PowerShell modules:
which may be retrieved from the PowerShellGallery.
- PowerShell 3.0 or later
- Git for Windows
To automatically install the content of this repository along with its dependencies, enter in a PowerShell shell
git clone https://github.com/nhbusch/poshutils.git path/to/repo
cd path/to/repo
.\Installwhich clones this repository, changes to the installation directory, and runs the
install script. The install script will also create a link from the PowerShell
user directory - usually $env:USERPROFILE\Documents\WindowsPowerShell - to the
above installation directory.
Install external modules
Installing external modules requires PowerShellGet, which is part of PowerShell 5.0 or later (distributed with Windows 10 or Windows Management Framework 5.0). If you are on PowerShell 4.0 or earlier, you need to install PowerShellGet instead.
Either clone the repository during first time installation
git clone https://github.com/nhbusch/poshutils.git path/to/repo
or update it with
git pull
Then, create a link from the PowerShell user directory to the installation directory
cmd /c mklink /j (Split-Path $PROFILE -Parent) path\to\repo\poshutilsTo install the above dependencies into the user module path, run e.g.,
Install-Module -Name PSReadLine -Scope CurrentUserYour are done!