O'Reilly logo

Windows PowerShell™ 3.0 Step by Step by Ed Wilson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using the Do...Until statement

Looping technology is something that is essential to master. It occurs everywhere, and should be a tool that you can use without thought. When you are confronted with a collection of items, an array, or another bundle of items, you have to know how to easily walk through the mess without resorting to research, panic, or hours searching the Internet. This section examines the Do...Until construction. Most of the scripts that do looping at the Microsoft Technet Script Center seem to use Do...While. The scripts that use Do...Until...Loop are typically used to read through a text file (do something until the end of the stream) or to read through an ActiveX Data Object (ADO) recordset (do something until the end of the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required