Showing results for September 2014 - Page 12 of 12 - Scripting Blog [archived]

Sep 3, 2014
Post comments count0
Post likes count0

Using and Understanding Tuples in PowerShell

Doctor Scripto
Doctor Scripto

Summary: Guest blogger, Windows PowerShell MVP, Joel Bennett talks about using tuples in Windows PowerShell. Microsoft Scripting Guy, Ed Wilson, is here. Today, we have a guest blog post by Windows PowerShell MVP, Joel Bennett. Joel has been a MVP for a while, and he created the infrastructure that is used by the Scripting Games before they were tu...

Scripting Guy!Windows PowerShellscripting techniques
Sep 2, 2014
Post comments count0
Post likes count0

PowerTip: Reverse Array with PowerShell

Doctor Scripto
Doctor Scripto

Summary: Use Windows PowerShell to reverse an array.  How can I use Windows PowerShell to sort an array that is going in the wrong direction?  Call the Reverse static method from the [array] class, for example: PS C:\> $a = 1,2,3,4,5 PS C:\> [array]::Reverse($a)

Scripting Guy!Windows PowerShellPowerTip
Sep 2, 2014
Post comments count0
Post likes count0

Using a Tuple in PowerShell

Doctor Scripto
Doctor Scripto

Summary: Learn how to use a Tuple in Windows PowerShell Hey, Scripting Guy! I read your article from yesterday, so I know about Tuples. How do I actually use one? —HD Hello HD, Microsoft Scripting Guy, Ed Wilson, is here. I just got back from working out with my trainer. I am not nearly as sore today, but then there is always tomorrow. Anyway, ...

Scripting Guy!Windows PowerShellscripting techniques
Sep 1, 2014
Post comments count0
Post likes count0

PowerTip: Use PowerShell to Sort Array

Doctor Scripto
Doctor Scripto

Summary: Use Windows PowerShell to sort an array.  How can I use Windows PowerShell to sort an array?  Use the static Sort method from the [array] class, for example: $a = 1,2,4,5,3,6   [array]::sort($a)

Scripting Guy!Windows PowerShellPowerTip
Sep 1, 2014
Post comments count0
Post likes count0

What’s a Tuple, and Why Would I Want to Use It?

Doctor Scripto
Doctor Scripto

Summary: Learn about using tuples with Windows PowerShell.  Hey, Scripting Guy! What is a tuple, and why would I want to use one? —RT  Hello RT, Microsoft Scripting Guy, Ed Wilson, is here. I just got back from the gymnasium, and I am sitting on the back porch sipping a glass of water, trying to cool down. I decided last week to beg...

Scripting Guy!Windows PowerShellscripting techniques