Scripting Blog

A place to learn about PowerShell and share stories of automation

Weekend Scripter: The Mission for “True-Up” Data Via Get-WmiObject

Summary: Guest blogger, Brian Wilhite, shares his experience using Windows PowerShell jobs to speed up collecting information from WMI. Microsoft Scripting Guy, Ed Wilson, is here. This weekend, we will start with guest blogger, Brian Wilhite. Brian Wilhite works as a Windows system administrator for a large health-care provider in North ...

Getting Directory Sizes in PowerShell

Summary: Guest blogger, Bill Stewart, discusses a Windows PowerShell function to determine folder size. Microsoft Scripting Guy, Ed Wilson, is here. Guest blogger today is Bill Stewart. Bill Stewart is a scripting guru and a moderator for the Official Scripting Guys forum. Here’s Bill… You have probably asked this question ...

Use a Module to Simplify Your PowerShell Profile

Summary: Microsoft Scripting Guy, Ed Wilson, teaches how to use a Windows PowerShell module to simplify your profile.  Hey, Scripting Guy! I have a problem and I hope you can provide some answers. My Windows PowerShell profile is, I guess, a bit excessive. I have a function that customizes my Windows PowerShell command prompt. I created a...

Use a Central File to Simplify Your PowerShell Profile

Summary: Microsoft Scripting Guy, Ed Wilson, shows how to use a central file to simplify configuring your Windows PowerShell profile.  Hey, Scripting Guy! So can you tell me without all the chatter, what is the best way to create a single Windows PowerShell profile? I don’t want to hear about a whole lot of other junk because I am ...

Deciding Between One or Multiple PowerShell Profiles

Summary: Microsoft Scripting Guy, Ed Wilson, discusses some of the decision points between using one or multiple Windows PowerShell profiles.  Hey, Scripting Guy! OK, so I understand that there are different types of Windows PowerShell profiles (I liked your blog yesterday by the way). But you failed on one major point: How do I know ...