Introduction to PowerShell - Part 5 - Script Flow Control

by Dmitry Kirsanov 30. March 2012 09:58

In this short video, which is rather addition to the 4th part of the PowerShell introduction videos for Windows system administrators, I am showing the basic concepts of script flow control.

This is very natural and basic for software developers, but system administrators with no prior experience in Windows PowerShell may find it very useful.

In this particular example we are connecting to the remote computer and listing it’s network adapters, to do different things depending from whether these adapters are DHCP enabled or not.

That’s what we call the script flow control – the algorithm, the logic behind your script.

Introduction to PowerShell - Part 5 - Script Flow Control
blog comments powered by Disqus