Scripting Blog

A place to learn about PowerShell and share stories of automation

Weekend Scripter: Use PowerShell to Explore Dates

Summary: Microsoft Scripting Guy, Ed Wilson, shows how to use Windows PowerShell to explore dates in the future. Microsoft Scripting Guy, Ed Wilson, is here. This afternoon, I am sipping a nice cup of Kwai Flower Organic Oolong tea. It is a slightly sweet, mild tea that goes well with jasmine blossoms. It makes for a nice relaxing afternoon, ...

Create a Proxy Function to Display Registry Key Time Stamps

Summary: Guest blogger, Rohn Edwards, discusses creating a Windows PowerShell proxy function to display registry key time stamps. Microsoft Scripting Guy, Ed Wilson, is here. Happy New Year to you all. Guest blogger, Rohn Edwards, is back with us today to continue his series about retrieving registry key last-modified time stamps. Be sure to ...

Beware the Ides of March—But by Who's PowerShell Calendar?

Summary: Learn about using Windows PowerShell and specifying different calendar types to use with dates. Microsoft Scripting Guy, Ed Wilson, is here. Today is day four of my PowerShell Essentials for the Busy Admin series of webcasts. The series has been a lot of fun, and the feedback so far has been great. It is encouraging to see the level ...

Use PowerShell to Save Time with Win32_TimeZone and DST Time Changes

Summary: Write a Windows PowerShell function to determine the status of time changes to daylight savings time. Microsoft Scripting Guy, Ed Wilson, is here. At the Windows PowerShell User Group meeting in Charlotte, North Carolina, Brian Wilhite talked about a few of his scripts during the script club. I said, “Dude, that is cool, and I ...

Use Culture Information in PowerShell to Format Dates

Summary: Learn how to use culture information in Windows PowerShell to format dates.   Hey, Scripting Guy! I enjoyed your article yesterday about manually changing the way a date is displayed using string techniques. But the problem is that is a bit complicated, and is even potentially error prone. Is there an easier way to work with ...