From the course: PowerShell for SQL Server Administration

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Concepts of threading

Concepts of threading - PowerShell Tutorial

From the course: PowerShell for SQL Server Administration

Start my 1-month free trial

Concepts of threading

- [Instructor] So threading in PowerShell used to be one of the more complex things we would ever have to do. Now, thankfully, it's a lot easier than it used to be. So back in the olden day, we used to have to kick off threaded objects. We'd have to tell PowerShell what they were. We'd have to say what commands that we wanted to run. So it's much simpler now to actually do all this and manage all this. So back in the day because this was so complex, we used to say that threading was one of the hardest things you would ever do in PowerShell and really, realistically, it's probably one of the hardest things you're ever going to do in programming in general if you actually punch code for a living and that's because just dealing with multiple threads and how these things are going to interact with each other can be very very complicated and very very hard. So the really cool thing about threading is that it's going to allow multiple threads to run in parallel so those threads can all do…

Contents