Can Powershell respond to events from a COM object? 'Powershell in
Action' covers COM interaction but makes no mention of events.
Many thanks,
Duncan
Can Powershell respond to events from a COM object? 'Powershell in
Action' covers COM interaction but makes no mention of events.
Many thanks,
Duncan
On Jul 24, 3:12 am, Duncan Smith <DSmith1...@googlemail.com> wrote:
> Can Powershell respond to events from a COM object? 'Powershell in
> Action' covers COM interaction but makes no mention of events.
>
> Many thanks,
>
> Duncan
A previous reply to a question regarding using PowerShell with serial
I/O ports supplied this reply, "async event support is not yet
supported natively". Hence I would be very surprised if PowerShell
1.0 can respond to COM events. A work around is Oisins excellent
event library. See http://www.codeplex.com/PSEventing
Howard
In message <1185264757.226426.116230@o61g2000hsh.googlegroups.com>,
Duncan Smith <DSmith1974@googlemail.com> writes
>Can Powershell respond to events from a COM object? 'Powershell in
>Action' covers COM interaction but makes no mention of events.
Not in V1.
Thomas
--
Thomas Lee
doctordns@gmail.com
MVP - Admin Frameworks and Security
>
> A previous reply to a question regarding using PowerShell with serial
> I/O ports supplied this reply, "async event support is not yet
> supported natively". Hence I would be very surprised if PowerShell
> 1.0 can respond to COM events. A work around is Oisins excellent
> event library. Seehttp://www.codeplex.com/PSEventing
>
Thanks, looks useful.
>
> >Can Powershell respond to events from a COM object? 'Powershell in
> >Action' covers COM interaction but makes no mention of events.
>
> Not in V1.
>
A real pity that. Are there already plans for it in v2, isn't there
somewhere on MS where MVPs can raise wish-list items and put them out
to be seconded by users?
Duncan Smith wrote:
>>> Can Powershell respond to events from a COM object? 'Powershell in
>>> Action' covers COM interaction but makes no mention of events.
>> Not in V1.
>>
>
> A real pity that. Are there already plans for it in v2, isn't there
> somewhere on MS where MVPs can raise wish-list items and put them out
> to be seconded by users?
Yup:
https://connect.microsoft.com/site/s...aspx?SiteID=99
In message <1185453612.582318.211220@w3g2000hsg.googlegroups.com>,
Duncan Smith <DSmith1974@googlemail.com> writes
>A real pity that.
Agreed. But to ship is to choose - I prefer shipping PowerShell early
and then doing remoting in V2.
> Are there already plans for it in v2,
Allegedly.
> isn't there somewhere on MS where MVPs can raise wish-list items
Yes.
> and put them out to be seconded by users?
Connect.
--
Thomas Lee
doctordns@gmail.com
MVP - Admin Frameworks and Security
| Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Online calendar events showing up as Private events? | Scott | Live Mail | 0 | 13 Jan 2010 |
| Using PowerShell to handle Eventlog | Florian | PowerShell | 2 | 15 Apr 2008 |
| New snapin for consuming .NET events in PowerShell | Oisin Grehan | PowerShell | 1 | 10 May 2007 |
| Manipulating mouse events through Powershell | danielfeichtinger@gmail.com | PowerShell | 5 | 17 Apr 2007 |
| Events with powershell | Roy | PowerShell | 5 | 13 Nov 2006 |