Ive had a bit of a search around, even on the microsoft website for powershell and there is only open ended questions about this topic in there. Hoping that someone here might know what is going on so i can finish my script.
Is it possible to multithread in the tradional sense in powershell? if so, how do i do it? if not, is there a way around it.
I am looking at running multiple new-vm cmdlets using the -runasync switch and want to use the wait-task cmdlet after each one of them has finished.