For years I have spent most of my time in a Windows PowerShell prompt. I have actually taken it as a badge of honor that I’ve been able to manage my day and all of my work from a PowerShell prompt. I also have created practically all of my content on Windows PowerShell. I will…
Category: PowerShell
Building More PowerShell Functions
In a recent post I discussed the the process you might go through in developing a PowerShell function. By the end, I not only had a new tool for my PowerShell toolbox, but I had a function outline that I could re-use. If you read the previous article then you should recognize the idea of…
Building a PowerShell Process Memory Tool
This week I’ve been testing out a new browser, Brave, as a possible replacement for Firefox. One of the reasons I switched to Firefox from Chrome was performance and better resource utilization. Brave may now be a better choice, but that’s not what this article is about. In order to assess resource utilization I turned…
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…
More Fun with PowerShell Thrillers
Last week I posted a Friday Fun article about using PowerShell to create a synopsis for a hypothetical thriller novel. Naturally I wasn’t satisfied to leave it at that. Don’t get me wrong, it was a good start. But I needed to take the next logical step. I had a script, but that meant having…
Friday Fun: PowerShell Thriller Revisited
A number of years ago I shared a fun PowerShell script that generated a description of a new thriller you might find in the action thriller section of your local book store. I modeled it after the works of authors like Vince Flynn, Ben Coes and James Rollins. I’m a big fan and of these…
Join Me for a 2 Day PowerShell Scripting Workshop
I am very happy to announce a 2 day public PowerShell learning event. In association with the fine people behind the Techmentor conference, I will be presenting a 2 day PowerShell Scripting workshop in Dallas, TX on February 4-5, 2019. There is an option to attend virtually, but you’ll really get the most out of…
Creating Colorful HTML Disk Reports with PowerShell
I have no idea what possessed me, but the other day I came across an older script that uses PowerShell to create an HTML report showing drive utilization for a group of computers. The utilization is displayed using a color gradient from green to red to provide a visual reference. As I looked at the…
PowerShell Calendaring Revisited
Early this week, I came across an old snippet of code in my scripts folder, originally published by Lee Holmes. It was an old script, from 2008, on using PowerShell to display a calendar with out of office information. I seem to recall that I had been trying to do something similar — display a…