Scripting Blog [archived]

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

Use PowerShell to Check the Status of Exchange Databases

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to simplify checking the dirty status of Exchange Mailbox databases. (image)  Hey, Scripting Guy!, I have a large number of Exchange servers, and when I do a database restore, often I am unable to mount the database because it says that the database is dirty...

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

Use PowerShell CIM Cmdlets to Discover WMI Associations

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using the Windows PowerShell 3.0 CIM cmdlets to discover WMI class associations. Microsoft Scripting Guy, Ed Wilson, is here. One of the cool things about the new Windows PowerShell 3.0 CIM cmdlets is the way they enhance WMI discoverability. Indeed, one of the primary ...

Create a Custom PowerShell Object to Simplify Appending CSV files

Summary: Microsoft Scripting Guy, Ed Wilson, shows how to create a custom Windows PowerShell object to simplify appending to CSV files.  (image)  Hey, Scripting Guy!  Yesterday, you talked about creating two objects, exporting them to CSV files, and then manipulating the strings to combine the CSV files. Is there a cleaner way ...