Skip to content

Blog entries

tail -f for powershell

If you have setup something in an Linux environment you have most likely done some troubleshooting. The command tail -f [path] is very convenient command. I had no idea that a similar existed on Windows until recently. In powershell to read a file, the command Get-Content is very neat. I had no idea that with “-wait” you could get the same result as in “-f” in tail. Very handy for parsing Windows firewall logs.

Unmount VM-ISOs after days

I had a minor issue with lingering ISOs in an VMM-environment. The issue wasn’t a technical one but a “soft” one. The users admins of the environment did not unmount ISOs after usage. So I created a small script that is triggered once a day and unmounts all ISOs that is more than a week old.