Scripting Blog [archived]

Formerly known as the "Hey, Scripting Guy!" blog

PowerTip: Use PowerShell to Compare Two Objects

Summary: Use Windows PowerShell to compare two objects to view differences and similarities. (image)  How can I compare two objects and see the values that differ and exist in both? (image)  Charlotte Windows PowerShell User Group member Brian Wilhite says: There is a cmdlet that will make life easy for you. The cmdlet is ...

PowerTip: Adjusting the Case of a String

Summary: Use Windows PowerShell to adjust the case of an entire string. (image)  How can I adjust the case of an entire string? (image)  Charlotte PowerShell User Group member Brian Wilhite says: One way to adjust the case (upper or lower) of an entire string object is to call the ToUpper or ToLower methods ...

PowerTip: Query Running Scheduled Tasks

Summary: Use Windows PowerShell 3.0 to query running scheduled tasks. (image)  How do I query “running” scheduled tasks on my computer? (image)  Charlotte PowerShell User Group member Brian Wilhite says the following: With Windows PowerShell 3.0, we have a ton of new cmdlets, and we’ll see one of ...

Check for Daylight Savings Time by Using PowerShell

Summary: Brian Wilhite, guest blogger, discusses a function to check for transition to daylight savings time. Microsoft Scripting Guy, Ed Wilson, is here. Today, we have a guest blogger. Brian Wilhite has been a guest in the past, and you can see his previous posts here. Brian is speaking at the Atlanta Windows PowerShell Saturday event (...