Scripting Blog [archived]

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

Working with Enums in PowerShell 5

Summary: Ed Wilson, Microsoft Scripting Guy, talks about working with enums in Windows PowerShell 5.0 in Windows 10. Microsoft Scripting Guy, Ed Wilson, is here. Yesterday, I talked about the new stealth feature in Windows PowerShell 5.0 in Windows 10 that permits me to easily create an enum. Enums are great because they provide a concise way ...

New PowerShell 5 Feature: Enumerations

Summary: Ed Wilson, Microsoft Scripting Guy, talks about creating enumerations in Windows PowerShell 5.0. Microsoft Scripting Guy, Ed Wilson, is here. It is nearly a stealth feature in Windows PowerShell 5.0—there is an Enum keyword. Yep, that's right, there is an Enum keyword. I wonder what it does? Probably has something to do ...

Hey, Scripting Guy! Weekend Scripter: Improving Yesterday’s Windows Firewall Script

  Microsoft Scripting Guy Ed Wilson here. The Smokey Mountains are about 10 degrees cooler than Charlotte, North Carolina, is. The problem is that it was nearly 100 degrees Fahrenheit in Charlotte. Anyway, getting to spend some time with my old high school friend has been fun, even if he does not know Windows PowerShell from a seashell. ...

Hey, Scripting Guy! Weekend Scripter: More Fruity Fun with Windows PowerShell Enumerations

  (image)   Microsoft Scripting Guy Ed Wilson here. The neighbor’s dog never seems to sleep. It is up early this morning, singing for its breakfast. I have news for the creature: Its voice is not nearly as great as he thinks it is. Oh, well, for these past several days the hound has been a reliable alarm clock. I only ...