header
header Register : : Login header
header
divider
menuleft
menuright
submenu
left

We have a new sponsor!  Introducting Pragma Systems.  See the home page for details.

WriteObject with different thread owned object
Last Post 07 Dec 2009 01:53 PM by frago. 2 Replies.
Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
fragoUser is Offline
New Member
New Member
Posts:2
Avatar

--
04 Dec 2009 03:41 PM  
WriteObject can't be run in a thread other than Powershell's. I've got a situation where the Object i need to use in the WriteObject method must be accessed by the thread that created it, and it's not PowerShell.
WriteObject (Object-in-different-thread)
Any ideas?
GWHowarth88User is Offline
Basic Member
Basic Member
Posts:336
Avatar

--
07 Dec 2009 10:45 AM  
Have you tried serialization? (If that's an option for you)
fragoUser is Offline
New Member
New Member
Posts:2
Avatar

--
07 Dec 2009 01:53 PM  
Nope. In my case target objects can't be extended or encapsulated in a serialized class.
You are not authorized to post a reply.

Active Forums 4.1
right
   
footer Sponsored by Quest Software • SAPIEN Technologies • Compellent • Microsoft Windows Server 2008 footer
footer