Scripting Blog

A place to learn about PowerShell and share stories of automation

Hey, Scripting Guy! Weekend Scripter: Using Enumerations in Scripts

  Microsoft Scripting Guy Ed Wilson here. The Scripting Wife and I are on the road again. She is driving, and I am playing around with Windows PowerShell enumerations. Teresa made friends with a couple we met in the concierge lounge of our hotel in Lisbon while I was teaching a month’s worth of Windows PowerShell workshops. She...

Hey, Scripting Guy! Weekend Scripter: Testing for a Loaded Enumeration

  Microsoft Scripting Guy Ed Wilson here. The constant pounding of the waves against the shore has a calming effect upon stressed psyches. The moist salty ocean air carries to the balcony as the sea spray from the waves wafts along the brisk breeze that parallels the beach in the morning. The beach, as seen in the following image, ...

Hey, Scripting Guy! Weekend Scripter: The Fruity Bouquet of Windows PowerShell Enumerations

Microsoft Scripting Guy Ed Wilson here. Our alarm clock died a slow, but rather painless death. All of a sudden, it began to lose track of time. It would forget to wake us up in the morning, and worst of all, it would at times just randomly display time from different time zones and even alternate universes. At last, it was time to bid it a...