Showing results for functions - Scripting Blog [archived]

Mar 14, 2012
0
0

PowerShell Pie for Pi Day

Doctor Scripto Doctor Scripto

Summary: Use the built in pi value in an impromptu function to get the circumference of a circle by using Windows PowerShell. Microsoft Scripting Guy, Ed Wilson, is here. The Scripting Wife and I are still pretty geeked out from the first ever Windows PowerShell Saturday that was held in Columbus Ohio. Add that today will be the third live meeting ...

Scripting Guy!Windows PowerShellscripting techniques
Oct 22, 2011
0
0

Use a PowerShell Function to Find Specific WMI Classes

Doctor Scripto Doctor Scripto

Summary: Use a Windows PowerShell function to find WMI classes with specific qualifiers.   Microsoft Scripting Guy Ed Wilson here. In Thursday’s article, I talked about using the Set-WmiInstance cmdlet to work with WMI classes. One of the parameters, the class parameter, works with WMI singleton objects. Now, it is certainly possible to ...

Scripting Guy!Windows PowerShellscripting techniques
Oct 11, 2011
0
0

Use PowerShell Parameter Attributes to Avoid Errors

Doctor Scripto Doctor Scripto

Summary: Use Windows PowerShell parameter attributes to avoid input errors in a function.   Microsoft Scripting Guy Ed Wilson here. This week is great. The Scripting Wife and I are enjoying meeting Windows PowerShell luminaries. I am working with a group of IT pros to help them to learn Windows PowerShell, and the weather has been wonderful. I...

Scripting Guy!Windows PowerShellscripting techniques
Jul 1, 2011
0
0

Naming and Designing Advanced PowerShell Functions

ScriptingGuy1 ScriptingGuy1

Summary: Microsoft Scripting Guy Ed Wilson discusses naming and designing advanced Windows PowerShell functions in relation to his Local User Management Module. Microsoft Scripting Guy Ed Wilson here. The cool thing about today is that it is Canada Day. This means that my boss back in Redmond is off today. Of course, Monday is July 4th, and the ...

Scripting Guy!Windows PowerShellscripting techniques
Jun 23, 2011
0
0

Create a Truly Advanced PowerShell Function

Doctor Scripto Doctor Scripto

  Summary: Learn how to create a true advanced function that interacts with the Windows PowerShell pipeline.  Microsoft Scripting Guy Ed Wilson here. Sean Kearney, Microsoft Windows PowerShell MVP, has been burning up the keyboard lately with ideas for guest blog posts. I hate to disappoint him by not sharing his hard work with you. (I am...

Scripting Guy!Windows PowerShellscripting techniques

Feedback