Showing results for enum - Scripting Blog [archived]

Aug 27, 2015
0
0

PowerTip: Find Numeric Value of Enum in PowerShell

Doctor Scripto Doctor Scripto

Summary: Learn how to easily find the numeric value of an enum in Windows PowerShell.  How can I use Windows PowerShell to easily find the numeric value of an enumeration?  Use square brackets to call the enum, call the enumeration property as a static property, and reference3            the value__ ...

Scripting Guy!Windows PowerShellscripting techniques
Aug 27, 2015
0
0

Working with Enums in PowerShell 5

Doctor Scripto Doctor Scripto

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

Scripting Guy!Windows PowerShellscripting techniques
Aug 26, 2015
0
0

New PowerShell 5 Feature: Enumerations

Doctor Scripto Doctor Scripto

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

Scripting Guy!Windows PowerShellscripting techniques
Jul 4, 2010
0
0

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

ScriptingGuy1 ScriptingGuy1

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

Scripting Guy!Windows PowerShellscripting techniques
Jun 20, 2010
0
0

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

ScriptingGuy1 ScriptingGuy1

    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 wish his owner ...

Scripting Guy!Windows PowerShellWeekend Scripter

Feedback