From the course: PowerShell for SQL Server Administration

Unlock the full course today

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

Authentication and threading

Authentication and threading - PowerShell Tutorial

From the course: PowerShell for SQL Server Administration

Start my 1-month free trial

Authentication and threading

- [Narrator] Now we're talking about threading. Let's talk about authentication and threading and how that's going to work. So when we're dealing with authentication and we have to authenticate to some third party product, things or you can get can tricky sometimes with threading, because not all authentication is going to work, as we would expect it to would deal with threading. That's because threading isn't going to nicely handle, the fact that we have to do authentication and pass out authentication between threads sometimes. So we basically need to assume that we're going to need to re authenticate every single time for every thread we kick off. So if we're dealing with just internal resources inside our active directory environment, we should be fine. We shouldn't need to deal with, any sort of extra authentication. If however, we're dealing with different threads talking to, something like Azure or some external resource that we need to authenticate against, then we're going to…

Contents