Showing results for splatting - Scripting Blog [archived]

Sep 26, 2011
0
0

Use PowerShell and WMI to Get Processor Information

Doctor Scripto
Doctor Scripto

Summary: Learn how to get the number of processor cores via WMI and Windows PowerShell. Hey, Scripting Guy! I need to perform an audit of computers on our network. Specifically, I am tasked with obtaining CPU information. I need the processor speed, number of cores, and number of logical processors. I feel like I should be able to use Windows ...

Scripting Guy!Windows PowerShellscripting techniques
Sep 25, 2011
0
0

Configure PowerShell Cmdlet Default Values by Using Splatting

Doctor Scripto
Doctor Scripto

Summary: Learn how to use the Windows PowerShell splatting feature to avoid typing repetitive cmdlet parameters.   Hey, Scripting Guy! I am wondering if you can help me. There are some cmdlets that have a lot of parameters. I need to fill these parameters out in order to cause the cmdlet to work properly, but once I have figured out the ...

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

Use ShowUi to Easily Create Graphical Interfaces for PowerShell

Doctor Scripto
Doctor Scripto

Summary: Use ShowUi, a free Windows PowerShell module, to simplify creating graphical interfaces for scripts.   Microsoft Scripting Guy Ed Wilson here. Today, I have a guest article from my good friend James Brundage. Here is a little bit about him.   James Brundage is the founder of Start-Automating, a company dedicated to saving people ...

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

Make Windows PowerShell Your Web Client

ScriptingGuy1
ScriptingGuy1

  Summary: Interact with websites from Windows PowerShell with this how-to post that wraps .NET Framework classes.   Hey, Scripting Guy! I would like to be able to download files and things from the Internet via Windows PowerShell. Is there an easy way to do this? I have not been able to find a Windows PowerShell cmdlet, and I would like ...

Scripting Guy!Windows PowerShellscripting techniques
Oct 21, 2010
0
0

Packaging .NET Framework Classes into Windows PowerShell Functions

ScriptingGuy1
ScriptingGuy1

  Summary: Learn how to correctly package .NET Framework classes into reusable Windows PowerShell advanced functions in this step-by-step solution.   Hey, Scripting Guy! I have been exploring the Microsoft .NET Framework on MSDN and attempting to convert some examples I have found there into Windows PowerShell code. I will admit that it ...

Scripting Guy!Windows PowerShellscripting techniques