Powershell tutorial 8 part 1
By now you should have a pretty good idea how powershell can be leveraged to help you with all sorts of tasks. This tutorial will cover the foreach loop to show you how you can chew through collections such as string arrays or windows services. There are two types of foreach loops in powershell, the foreach statement and the foreach-object cmdlet. They work similarly and you can get the same results with either, but they do differ in several important areas.
Loading ...


