If you are using PowerShell 2.0, you should use the built-in eventing instead. While this release works perfectly on v2, this is only for backwards compatibility with PowerShell 1.0 PSEventing scripts.
If you want to use key handling events (Hot keys) in PowerShell 2.0, see the latest release on PSEventing Plus on this website.Notes
- If you download the ZIP package, you must run the install script as an administrator (elevated shell on 2008/vista/win7).
- After installing as admin, you can use the PSEventing snapin as a normal / unpriveledged user
- Multiple named queue support and default queue with -QueueName parameter
- Better COM support, window message pumping etc.
- NoFlush / Peek parameter support for queue reading
- Get-EventQueue command added for viewing queues and their message counts.
- Get-Event -> Read-Event
- Connect-EventListener -> Connect-Event
- Disconnect-EventListener -> Disconnect-Event
see foreground / background swappable downloads in powershell
for an advanced example.