Showing archive results for May 2014

May 10, 2014
Post comments count0
Post likes count0

Weekend Scripter: Introducing Script Browser and Script Analyzer

Doctor Scripto

Summary: Scott Ge and Bill Grauer share new Windows PowerShell resources: Script Browser and Script Analyzer. Microsoft Scripting Guy, Ed Wilson, is here. Today we have a guest blog from Scott Ge and Bill Grauer from Microsoft Customer Service and Support. Take it away Scott and Bill… To write quality script to automate IT, we often wan...

Scripting Guy!Windows PowerShellscripting techniques
May 9, 2014
Post comments count0
Post likes count0

PowerTip: Sort a PowerShell Array

Doctor Scripto

Summary: Learn how to easily sort an array of numbers by using Windows PowerShell.  How can I use Windows PowerShell to easily sort an array of numbers stored in a variable?  Use the Sort static method from the [array] .NET Framework class: $a = 1,5,3,8,2,12 [array]::sort($a)

Scripting Guy!Windows PowerShellPowerTip
May 9, 2014
Post comments count0
Post likes count1

PowerShell Looping: The Continue Statement

Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using the Continue statement in looping. Microsoft Scripting Guy, Ed Wilson, is here. Dude, dude, dude (or dudette). TechEd 2014 is nearly here. Tomorrow the Scripting Wife and I jump onto a big old hairy plane and head to Houston, Texas for TechEd 2014 North America. We will head to the Co...

Scripting Guy!Windows PowerShellscripting techniques
May 8, 2014
Post comments count0
Post likes count0

PowerTip: Verify If File Changes by Computing Hash

Doctor Scripto

Summary: Use Windows PowerShell and compute a hash to verify if a file changes.  How can I use Windows PowerShell in Windows 8.1 to ensure that my Windows PowerShell profile           does not change without me knowing it?  Use the Get-FileHash cmdlet and store the returned object somewhere (for exa...

Scripting Guy!Windows PowerShellPowerTip
May 8, 2014
Post comments count3
Post likes count0

PowerShell Looping: Advanced Break

Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, talks about additional uses for the Break statement in looping. Microsoft Scripting Guy, Ed Wilson, is here. This morning, it is cool and the sun is barely up. I am sipping a cup of English Breakfast tea with a spoonful of spearmint and peppermint leaves, and a cinnamon stick. I have my new Surface Power...

Scripting Guy!Windows PowerShellscripting techniques