Skip to content

PowerShell Preworkout (PSPreworkout)

A special mix of tools to help jump start your PowerShell session!

GitHub stars PowerShell Gallery Version PowerShell Gallery Downloads PRs Welcome GitHub contributors

GitHub top language Codacy Badge GitHub Actions Workflow Status GitHub Actions Workflow Status

  PSPreworkout Logo (Image generated by Microsoft Designer)  

Inspiration

Why PSPreworkout? Whether you are developing PowerShell code or performing daily tasks, the goal of PSPreworkout is to start working efficiently as quickly as possible. The idea for the name was inspired by the pre-workout mix that I sometimes drink for an extra kick of energy and focus before working out.

The PSPreworkout module contains shortcuts for setting up a PowerShell environment, configuring Git, customizing the shell, working with environment variables, creating new script files from a template, updating packages, and more!

Getting Started

Install-Module -Name PSPreworkout -Scope CurrentUser
Get-Command -Module PSPreworkout

Contributing

Please feel free submit an issue or a PR to report bugs, suggest improvements, or add new ideas to the module!

Presentations

  • PSPreworkout Module Walkthrough at the PowerShell Usergroup Inn-Salzach - Thanks to the Inn-Salzach PowerShell User Group for inviting me to share my first public presentation!

PSPreworkout Cmdlets

⤵️ Full List: ## PSPreworkout Cmdlets ### [Edit-PSReadLineHistoryFile](Edit-PSReadLineHistoryFile.md) Edit the PSReadLine History File ### [Edit-WingetSettingsFile](Edit-WingetSettingsFile.md) Edit the WinGet settings file. ### [Get-EnvironmentVariable](Get-EnvironmentVariable.md) Retrieves the value of an environment variable. ### [Get-LoadedAssembly](Get-LoadedAssembly.md) Get all assemblies loaded in PowerShell. ### [Get-PowerShellPortable](Get-PowerShellPortable.md) Download a portable version of PowerShell to run anywhere on demand. ### [Get-TypeAccelerator](Get-TypeAccelerator.md) Get available type accelerators. ### [Initialize-PSEnvironmentConfiguration](Initialize-PSEnvironmentConfiguration.md) Initialize configuration your PowerShell environment and git. ### [Install-CommandNotFoundUtility](Install-CommandNotFoundUtility.md) Install and setup the WinGetCommandNotFound utility from Microsoft PowerToys. ### [Install-OhMyPosh](Install-OhMyPosh.md) Install Oh My Posh and add it to your profile. ### [Install-PowerShellISE](Install-PowerShellISE.md) Install the Windows PowerShell ISE if you removed it after installing VS Code. ### [Install-WinGet](Install-WinGet.md) Install Winget (beta) ### [New-Credential](New-Credential.md) Create a new secure credential. ### [New-ScriptFromTemplate](New-ScriptFromTemplate.md) Create a new advanced function from a template. ### [Out-JsonFile](Out-JsonFile.md) Convert an object to JSON and write it to a file. ### [Set-ConsoleFont](Set-ConsoleFont.md) Set the font for your consoles. ### [Set-EnvironmentVariable](Set-EnvironmentVariable.md) Set environment variables. ### [Show-LoadedAssembly](Show-LoadedAssembly.md) Show all assemblies loaded in PowerShell. ### [Show-WithoutEmptyProperty](Show-WithoutEmptyProperty.md) Show an object without its empty properties. ### [Test-IsElevated](Test-IsElevated.md) Check if you are running an elevated shell with administrator or root privileges. ### [Update-AllTheThings](Update-AllTheThings.md) Update all the things!