Scripting Blog

A place to learn about PowerShell and share stories of automation

Use PowerShell to Find Last Logon Times for Virtual Workstations

Summary: Learn how to Use Windows PowerShell to find the last logon times for virtual workstations. Microsoft Scripting Guy, Ed Wilson, is here. Welcome back guest blogger, Brian Wilhite. Brian was our guest blogger yesterday when he wrote about detecting servers that will have a problem with an upcoming time change due to daylight savings ...

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 ...

Scripting Wife Learns to Work with Text Files

Summary: The Scripting Wife learns to use Windows PowerShell to write to text files and to include the date in a log. Microsoft Scripting Guy, Ed Wilson, is here. The other night the Scripting Wife and I went to the Charlotte IT Pro User Group meeting where I participated in a panel discussion about various Microsoft approaches to various ...

Easy Commands to Teach Your Friends about PowerShell

Summary: The Scripting Wife learns about easy Windows PowerShell commands so she can teach her friends about Windows PowerShell. Microsoft Scripting Guy, Ed Wilson, is here. This morning is rather cool, but I am sitting on the front porch sipping a cup of pomegranate tea that I brought back with me from Montreal. It is a nice caffeine-free tea...

The Scripting Wife Uses PowerShell to Find Service Accounts

Summary: The Scripting Wife interrupts Brahms to learn how to use Windows PowerShell to find service accounts and service start modes. Microsoft Scripting Guy, Ed Wilson, is here. One of life’s real pleasures is sitting around a fireplace, listening to a Brahms concerto, and sipping a cup of chamomile tea. I like to add a bit of local ...