Showing archive results for 2014

Sep 2, 2014
Post comments count0
Post likes count0

Using a Tuple in PowerShell

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

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

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
Aug 31, 2014
Post comments count1
Post likes count0

PowerTip: Using PowerShell to Determine if Path Is to File or Folder

Doctor Scripto

Summary: Learn how to use Windows PowerShell to determine if a path is to a file or a folder.  How can I use Windows PowerShell to determine if a path is to a file or a folder?  Use the Get-Item cmdlet to get the object represented by the path. Then use the –Is operator to see if the         &...

Scripting Guy!Windows PowerShellPowerTip
Aug 31, 2014
Post comments count0
Post likes count0

Weekend Scripter: Parse Folder of Data with PowerShell

Doctor Scripto

Summary: Use Windows PowerShell to parse a folder that contains data dumps. Microsoft Scripting Guy, Ed Wilson, is here. This morning I got up, and headed to the Farmers Market in town. I picked up a fresh melon for breakfast and some locally made cheese. Melon and cheese with a nice up of English Breakfast tea…not a bad meal. I am sitting o...

Scripting Guy!Windows PowerShellscripting techniques