Solving the PowerShell Memory Challenge
I hope you tried your hand at this Iron Scripter PowerShell challenge on reporting memory usage. The basic challenge was to find the total percent of working set memory that a specific process or...
View ArticleFriday Fun: PowerShell Weather Widget
Recently, someone on Twitter turned me on to an resource that could be used in a PowerShell session to display weather information. This is apparently a well-established and well-regarded source. Once...
View ArticleClimbing Trees in PowerShell
I’m continuing with my renewed interest in Active Directory, and how I can take advantage of PowerShell. This is a topic I’ve been working with since the PowerShell v2 days. I have a lot of old code....
View ArticleScaling the Active Directory Log Search with PowerShell
Recently, I posted a demonstration of how to find changes to your Active Directory using PowerShell. This process requires that you search through the Security event log on all your domain controllers....
View ArticleComparing PowerShell Property Names
Recently, I was chatting with my friend Gladys Kravitz about the hassle of comparing objects in PowerShell. Even after all these years. She has a specific use case, but you might also feel the need for...
View ArticleUpdated PowerShell Practice Primer Now Available
I have published a new version of The PowerShell Practice Primer. If you own the book and signed up for notifications, you should have received an email informing you of the new edition. That is a...
View ArticlePowerShell Property Sets to the Rescue
if you are like me and spend most of your day at a PowerShell prompt, anything that simplifies that process is worth the time to learn or set up. Even though I am a decent typist, I am more than happy...
View ArticleBetter Active Directory Reporting with PowerShell
I’ve been using Active Directory for over 20 years. I was even one of the first 2000 IT Pros worldwide to obtain an MCSE on Windows 2000. Over the years, I’ve used a variety of management tools from...
View ArticleSolving Another PowerShell Math Challenge
Last month, the Iron Scripter Chairman posted a “fun” PowerShell scripting challenge. Actually, a few math-related challenges . As with all these challenges, the techniques and concepts you use to...
View ArticleCleaning with PowerShell Revisited
Springtime is approaching in North America. Where I live, the snow has finally melted and we have blue skies with warmer temperatures. Of course, this means Spring Cleaning. Time to clear out the...
View ArticleAnswering the PowerShell Export Challenge
Last month, the Iron Scripter Chairman put out a rather large and complex challenge. The basic premise of the challenge was to export a PowerShell session to a file, and then import it in later...
View ArticleActive Directory Reporting Tools Released
Over the weekend, I published the 1.0 version of the ADReportingTools module to the PowerShell Gallery. I first wrote about this module a few weeks ago. I’ve made a number of changes since then and...
View ArticleActive Directory Group Reporting
I’ve pushed v1.2.0 of the ADReportingTools module to the PowerShell Gallery. The release adds the missing help for Get-ADComputerReport. I’ve also added better documentation and information in warning...
View ArticleMore About PowerShell PSDefaultParameterValues
Last week I shared a little nugget about making PowerShell life easier by using the built-in variable, $PSDefaultParameterValues. This is a special hashtable where you can define default parameter...
View ArticleBuilding a PowerShell Process Detection Tool
I spend my entire working day in a PowerShell prompt. It is often a combination of Windows PowerShell and PowerShell 7. Sometimes I’m in a session with a loaded profile, sometimes not. Sometimes I have...
View ArticleUnlocking PowerShell Secrets
So I’ve been kicking the tires and trying to do more with the Secrets Management modules from Microsoft, now that they are out of pre-release status. You can install the...
View ArticleA Better Way to Manage PowerShell Functions
Like many of you, I write a lot of PowerShell code. Much of it I use on a daily basis since I essentially spend my day at a PowerShell prompt. Also like many of you, I often assemble functions into a...
View ArticleFriday Fun: Counting Down Events with PowerShell
We just finished a very successful virtual edition of the PowerShell+DevOps Global Summit. We lost our 2020 event to the pandemic but fortunately, the people at The DevOps Collective were able to pull...
View ArticlePowerShell Tough Love
The other day I was helping Gladys Kravitz on her transition to VS Code. Like many of you, she has been using the PowerShell ISE for years and has a deeply ingrained workflow. I’ll be the first to...
View ArticlePowerShell Event Log Mining
The other day someone who is learning PowerShell reached out to me with a problem. He couldn’t understand why the relatively simple PowerShell expression to pull information from the System event log...
View Article