Tuesday, March 17, 2009 7:10 AM
Using powershell can we run something in form of threads?
Actually what I'm doing is connecting to multiple servers & reading a few properties. Connecting to them in sequence causes much wait which can be avoided if I can create threads which will then connect to the individual machines & domp their answers to a centralised location in the end.
So can we do this in PS I know its possible in VB.
And sorry if I posted this in the wrong list - I cant find one for PS specific...
Thursday, March 19, 2009 7:01 AMHi yup,
As far as I know, SQLPS is only a powershell provider provide by SQL Server. It do not extend the capability for powershell. I am not sure how powershell deal with multithread issue. You can find more information for powershell at this fourm:http://social.technet.microsoft.com/forums/en-US/winserverpowershell/threads/
Thursday, March 19, 2009 7:27 AMSo, just in case when I'm not doing anything to/with the SQL Servers is that possible & how?
I've pasted this on the said forum - lets see..
anyway - thanks a lot for giving this address....