Showing results for looping - Scripting Blog [archived]

May 5, 2014
0
1

PowerShell Looping: Understanding and Using Do…While

Doctor Scripto
Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using the Do…While statement in Windows PowerShell scripts. Microsoft Scripting Guy, Ed Wilson, is here. Last week, the Scripting Wife and I were at the Windows PowerShell Summit in Bellevue, Washington. It was an awesome week. We got to reconnect with many old friends, and we also mad...

Scripting Guy!Windows PowerShellscripting techniques
May 1, 2014
0
0

PowerShell Looping: The Automatic Foreach

Doctor Scripto
Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, talks about Windows PowerShell and the automatic Foreach feature. Microsoft Scripting Guy, Ed Wilson, is here. One of my favorite features in Windows PowerShell (since Windows PowerShell 3.0) is what I call the automatic Foreach. Basically, it means that I can access a particular property of a colle...

Scripting Guy!Windows PowerShellscripting techniques
Apr 30, 2014
0
0

PowerShell Looping: Using While

Doctor Scripto
Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, talks about Windows PowerShell looping and looks at using the While statement. Microsoft Scripting Guy, Ed Wilson, is here. One of the things that I see with people coming to Windows PowerShell from VBScript or some other language, is that they seem to like to use the While statement. While there is noth...

Scripting Guy!Windows PowerShellscripting techniques
Apr 29, 2014
1
0

PowerShell Looping: Using the Foreach-Object Cmdlet

Doctor Scripto
Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using the Foreach-Object cmdlet in Part 2 of the Looping Week series. Microsoft Scripting Guy, Ed Wilson, is here. Today I want to address a major point of confusion for newbie Windows PowerShell scripters. That point is the Foreach-Object cmdlet. Part of the confusion comes with the ali...

Scripting Guy!Windows PowerShellscripting techniques
Apr 28, 2014
0
1

Basics of PowerShell Looping: Foreach

Doctor Scripto
Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using the Windows PowerShell Foreach statement to loop through a collection. Microsoft Scripting Guy, Ed Wilson, is here. When the Scripting Wife and I were in Amsterdam, Windows PowerShell MVP, Jeff Wouters, told me that a lot of people he ran across had problems looping through collections ...

Scripting Guy!Windows PowerShellscripting techniques