Summer started a week ago…
rblog
LED-lights mounted
My latest book – Astrid Sverresdotter Dypvik "Det var DDR"
3. oktober 1990 vart DDR lagt ned og Tyskland samla. Det var slutten for statssosialisme, Berlinmuren og Stasi, men også for eit samfunn utan arbeidsløyse. Denne boka byr på forteljingar om det som er att etter DDR i dag….
Read more at Samlaget
How to get uptime for a Windows service
Needed to know the uptime of a service on a Windows 2012 server to verify that the suggested solution for restarting all Splunk Universial Forwarders did work, see answers.splunk.com/../how-can-i-restart-all-my-forwarders.
Solution found here /blogs.technet.com/…/how-can-i-get-the-uptime-of-a-service, did make some minor adjustments to the vbscript as shown below.
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set colServices = objWMIService.ExecQuery _
("Select * From Win32_Service WHERE displayname = 'SplunkForwarder'")
For Each objService in colServices
intProcessID = objService.ProcessID
Set colProcesses = objWMIService.ExecQuery _
("Select * From Win32_Process Where ProcessID = " & intProcessID)
For Each objProcess in colProcesses
Wscript.Echo objService.Name + "/" + objProcess.Name + " " + objProcess.CreationDate
Next
Next
Running it from the Powershell prompt like this PS D:\Temp> cscript.exe .\uptime.vbs
Birch extract
Trying out old traditions, today extracts from the birch tree. Tasted like…water.
Cannot stand on the rooftop of my tractor
There are many ways to remove rust from metal, here are four of them using stuff from your kitchen. I will not be using any of them when removing rust from the roof of my tractor. Anyways, with the help from my neighbor the roof was lifted of earlier today. So now I have a Valmet 865s cabriolet…
Digging a ditch behind the barn
Swans on the field
Milestone in the lifetime of my car
My latest book – Hel ved by Lars Mytting
Lars Myttings non-fiction book Hel ved («Solid wood») is one of the greatest publishing successes in Scandinavia ever. It is a «practical-lyrical» guide on the use and lore of firewood, based on Norwegian traditions and our modern science on stoves and renewable energy.
I did try today to make fire from the top as described in the book and I broke the record of getting the fireplace hot as h$#.








