Create Windows scheduled task (for the NppUpdater script)

Create Windows scheduled task (for the NppUpdater script) The previous NppUpdater script doesn't do anything without it being scheduled in the task scheduler. So I thought I also release a script to you, which does just that. If you add the code in this script to the NppUpdater script, it'll also create the scheduled task … Continue reading Create Windows scheduled task (for the NppUpdater script)

Download SolarEdge solar production data and save to csv

I've got a nice solar panel setup on my roof, which uploads its data to the SolarEdge monitoring portal (this is the brand of inverter that I got). It appeared that this monitoring portal also has an API to automate getting the energy data. With me working in a company that works on energy savings, … Continue reading Download SolarEdge solar production data and save to csv

Net stop/start W3SVC and Stop/Start-Service W3SVC vs IISRESET STOP/START

I encountered a problem where I wanted to stop and start IIS by using either the command line or powershell versions of stopping and starting IIS. NET STOP W3SVC NET START W3SVC or Stop-Service W3SVC Start-Service W3SVC Both of those stopped and started the World Wide Publishing service correctly. But both appeared to not stop/recycle … Continue reading Net stop/start W3SVC and Stop/Start-Service W3SVC vs IISRESET STOP/START

Get all (non-default) scheduled tasks

I tried querying the scheduled tasks to give me a list of all (non-default) scheduled tasks. I also wanted to have its schedule information, which appeared to be a pretty hard task in the get-service command. After several unsuccessful attempts, I tried something else with great and immediate results. It appeared that the schtasks did … Continue reading Get all (non-default) scheduled tasks