PowerShell SnippetRace 01/2026

Service, Worktime, SSL, TLS, WSL

Events

  • Expertslive Conference Austria 2026 – June 25 Linz/Austria Link
  • PowerShell and DevOps Summit USA – April 13-16, Bellevue Link
  • PowerShell Usergroup Austria Cafe Q1/26 – TBD

Snippets

Make your PowerShell code run as a Windows Service

Sometimes code needs to run frequently or permanently. Use cron, or the windoes scheduler, or a 3rd party tool ? Take a look at Servy on github. Servy lets you run any app as native Windows service with full control over working directory and so on. Servy has also a PowerShell module to control the services and a great documentation. Look at github for more.

Collect worktime from Windows event-logs startup/shutdown

If you wonder how much time you spend in front of your computer, get Get-Worktime. Get-Worktime collects uptime info from the evenlog and emits a simple start/stop time. A great way to track your working time. See Github.

Test SSL/TLS protocol

The Test-TSLProtocol module is a powerful tool to test SSL connectivity on your systems. Harm Veenstra wrote on his blog about the usage of the module so we can replicate this knowledge. See Link.

Using WSL coding with VSCode

Developing for Linux on a Windows Machine should be easy, and there is a way to make it easy. Windows Subsystem for Linux is the way and even this technology is out there for a while, a recap on the current status is great. Harm Veenstra did this recently and if you are new to WSL this is definetely worth a try. Link

Have a great start into the year 2026 !

R.

Leave a Reply