Register
: :
Login
Home
Forums
Blogs
Podcast
Directories
Scripts
Downloads
Community
User Group Support
Learning Resources
We have a new sponsor! Introducting
Pragma Systems
. See the home page for details.
Unanswered
Active Topics
Forums
Search
Members
Forums
>
PowerShell Development
>
Cmdlet Development
WriteObject with different thread owned object
Last Post 07 Dec 2009 01:53 PM by
frago
. 2 Replies.
Sort:
Oldest First
Most Recent First
Prev
Next
You are not authorized to post a reply.
Author
Messages
frago
New Member
Posts:2
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?
GWHowarth88
Basic Member
Posts:336
07 Dec 2009 10:45 AM
Have you tried serialization? (If that's an option for you)
frago
New Member
Posts:2
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.
PowerShellCommunity.org
--Community Announcements and Assistance
--Completely Unrelated
--User Groups
--Community Business
----Suggestion Box
Using PowerShell
--General PowerShell
--Books, Tools, and Videos
--Exchange Server
--Active Directory
--System Center Family
--Non-Microsoft Products
--SharePoint
--SQL Server
--Working with .NET
--Peer Review
--Testing, Testing...
PowerShell Development
--Cmdlet Development
--PSDrive Provider Development
--Hosting the Shell
Looking Ahead
--Using PowerShell v2.0
--Developing for PowerShell v2.0
Forums
>
PowerShell Development
>
Cmdlet Development
Active Forums 4.1
Sponsored by Quest Software • SAPIEN Technologies • Compellent • Microsoft Windows Server 2008