PWSH is a set of PowerShell modules/cmdlets to help automating the daily routine task. The goal is to save us time, effort and improve efficiency.
It is created with the script-mindset: Don't Repeat Yourself - DRY, repeat by scripts - RBS.
powershell 7 or later
iwr https://pwsh.page.link/0 |iex
Then you could use its cmd-lets and modules
Install latest or update
if($env:MS_PWSH) {. $env:MS_PWSH\update.ps1} else {iwr >> https://pwsh.page.link/0|iex}install specific version
$v = 1.0.2 # default is latest "&{$(iwr https://pwsh.page.link/0)} $v"|iex
the profile contains posh-git config, to install posh-git
setup-poshGit
https://github.com/dahlbyk/posh-git
if you want to contribute to the development, and always using the latest code from the master branch.
"& {$(iwr https://pwsh.page.link/dev)} c:\" |iex
it will clone into
c:\pwsh
folder, replacec:\
to your own folder that used to contain the source code
note: it will clone the repo to the folder, and setup the profile.
Set-ExecutionPolicy Bypass -Scope Process -Force;
.\config.ps1
bump version and add a release tag for the repository
./release.ps1