Some of you may be aware of my PSCalendar module which you can install from the PowerShell Gallery. The module contains commands that you can use to display a console-based calendar. The calendar commands let you specify days to highlight. These might be days with special events or appointments. I typically use the Show-Calendar command…
Tag: prompt
Friday Fun: Taking a Shortcut Path in Your PowerShell Prompt
To kick off the new year I thought I’d take a shortcut and reclaim some wasted space in my PowerShell prompt. I know I run into this issue during classes and conferences. Perhaps you encounter it as well. You are in in the PowerShell console and have ended up in a deep directory structure so…
Thinking Outside the Box with Another PowerShell Prompt
TThe other day I shared my simple PowerShell prompt function that displayed a few pieces of potentially useful information in a color coded box. Today I have a slight variation that also contains a few improvements. One of the things that I was torn with in my previous version was the prompt itself. I like…
Friday Fun with a Cross-Platform PowerShell Prompt
This year is turning out to be all things cross-platform for me. Continuing this line of discussion I have something fun and simple today. A PowerShell prompt function that will work cross-platform and provide some meaningful information in what I think is a elegant manner. You may not need the function, but you might want…
Maximizing My Prompt in PowerShell Core
Yesterday I wrote about my intention to make PowerShell Core, running on Windows 10, my “daily driver”. I’ve also written recently about using the PowerShell prompt function to provide a wide range of information. So I decided to combine the two, plus mix in some functionality from my other PowerShell tools, to create a PowerShell…
The Ultimate PowerShell Telemetry Prompt
Well, I knew I wouldn’t be satisfied. The other day I shared a PowerShell prompt function that could display telemetry like information for a few remote servers. One of the drawbacks was the limited amount of information I could display. I’ve revised that function and have a new version that displays additional information via a…
My Telemetry PowerShell Prompt Function
I’ve enjoyed building these PowerShell prompt functions. Because performance is critical, it has forced me to create efficient code. For example, I’ve been using Get-CimInstance to retrieve select properties from certain classes. Because I know in advance what properties I need, I can tell Get-Ciminstance to only get and return those properties. With today’s version,…
More PowerShell Monitoring Prompts
Wow. Do you all love PowerShell prompts or what? My prompt to display up/down information was very popular. How about a few more? As I mentioned in my previous post, performance is super critical when it comes to a PowerShell prompt function. I’ve experimented with a number of different techniques and I think using a…
A PowerShell Up/Down Prompt
It appears many of you are taken with the possibilities of PowerShell prompt functions. In previous posts, I alluded to the fact that you could do just about anything in a prompt function. Today I have an example of what I am talking about. The challenging part of creating a prompt function that does more…
Revised Everything PowerShell Prompt
Since it is Friday and time for some more PowerShell fun, and I’ve been sharing some of my prompt functions, I thought I’d re-share my kitchen sink prompt. This PowerShell prompt function does *a lot* to things and gives you a snapshot view of your system everytime you press enter. It will work cross-platform, but…
Your Christmas PowerShell Prompt
Continuing my fun with PowerShell prompts and because we are in the Christmas season. I’m bringing back my Christmas countdown prompt. I have updated so it should work in both the traditional console and PowerShell ISE. The prompt displays a randomly colorized countdown message with some random decorations. You can find the updated code as…
Friday Fun with Timely PowerShell Prompts
If PowerShell is a part of your daily routine, you most likely have a console window open all day. In addition to using PowerShell to get stuff done, you can use PowerShell to keep you on track. I’ve written before and talked about how I use PowerShell to manage my day. You may not need…
Friday Fun: Perk Up Your PowerShell Prompt
I haven’t written a Friday Fun post in quite a while. Often these posts don’t have much practical value but hopefully illustrate a concept or technique. Although what I have today is something you could use immediately. I have a version of a PowerShell prompt function that will color code your location based on the…
Throwing the Kitchen Sink at PowerShell
The other day I was watching a good intro video from Shane Young on getting started with PowerShell profiles. I use profile scripts extensively, and they can be extremely useful in configuring your PowerShell experience. One element you could add to your profile is a customized PowerShell prompt. Microsoft provides one by default. It creates…
Prompting for the Holidays
This should wait for a Friday Fun post but since it is December 1st I decided not to wait. It is that time of year again and my PowerShell prompt is colorful and sparkly. My holiday themed PowerShell prompt (Image Credit: Jeff Hicks) In my profile I have this code to use a new Prompt…