Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

Register-ObjectEvent

$
0
0
I create an event subscriber using Register-ObjectEvent, I lose the Event as soon as I close the PS console (Get-EventSubscriber shows none). How do I make it permanent? It should not get affected by closing of PowerShell console of reboot  of computer. Is it possible?

-Edatha-


Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>