Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • Hello Ram, the output does not appear in the prompt window on my system, but in PowerShell ISE work great. Thank you very much. Really good.
    – Luciano
    Commented Oct 22, 2018 at 10:09
  • I think you're looking for a press any key to continue.. behavior, you can check this link : stackoverflow.com/questions/20886243/press-any-key-to-continue Also I don't know much about Provider Names for these events, I came with User32 based on one of your comment, I learnt a lot from you as well, thank you :) Commented Oct 22, 2018 at 11:07