1 minute read

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.

Installation

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 tips.

Demo

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:

tiPS demo

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.

More info

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.

Happy scripting!

Leave a Comment

Your email address will not be published. Required fields are marked *

Loading...