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.

Comments

Popular posts from this blog

gemini cli getting file not defined error

mongosh install properly

llama cpp running it in google colab