There are a lot of great PowerShell tips out there, but we often don’t proactively look for them. It’s hard to know what you don’t know, and easy to miss out on some great tips that could make your life easier. The tiPS module can be used to display a PowerShell tip on demand, or automatically when you open a new PowerShell session, helping to broaden your PowerShell knowledge and stay up-to-date.
Install and configure the tiPS module by running the following commands in a PowerShell terminal:
Install-Module -Name tiPS -Scope CurrentUser Add-TiPSImportToPowerShellProfile Set-TiPSConfiguration -AutomaticallyWritePowerShellTip Daily -AutomaticallyUpdateModule Weekly
Display a tip
To display a PowerShell tip, simply run the
Write-PowerShellTip command, or use its alias
Here’s a quick demo of installing tiPS and getting tips on demand, and then configuring tiPS to automatically display a tip every time you open a new PowerShell session:
While the demo shows displaying a new tip on every PowerShell session, I recommend configuring it to show a new tip daily so that you don’t get too distracted by tips while doing your day-to-day work.
tiPS is cross-platform, so it works on Windows, macOS, and Linux. It supports both Windows PowerShell (e.g. v5.1) and PowerShell Core (e.g. v7+).
tiPS is open source and intended to be community driven. If you have a PowerShell tip, module, blog post, or community event that you think others would find useful, submit a pull request to have it added.
Checkout the tiPS GitHub repo for more information.
Leave a Comment
Your email address will not be published. Required fields are marked *