Powershell - Creating a timer

Creating a timer in powershell is almost the same as in .net, well it is the same :).
The tricky part is event registration. As you can see below, we using Register-ObjectEvent to link an event handler to our Elapsed event.


Popular posts from this blog

OpenCover code coverage for .Net Core

Using Custom DLL with IronPython / Scripts

Android Programmatically apply style to your view