Monthly Archives: January 2014

Powershell Script to Email a Disk Usage Report

I use a couple of different technologies to store large quantites of data on my “server” at home, namely Storage Pools combined with Data Deduplication on Windows Server 2012 R2. Up to a couple of weeks ago it was working great but I’ve started to notice oddities which couldn’t really be explained… So I decided… Read More »

Programming Challenge Day 3.

Task for today are: – Ask for a name – If its Bob/Alice, display one message – If its not Bob/Alice, display a different message. Javascript var stdIn = WScript.StdIn var str = “” stdOut.WriteLine(“Name?”); while (!stdIn.AtEndOfStream) { str = stdIn.ReadLine() if (str == “Bob”) {sayHello(str)} else if (str == “Alice”) {sayHello(str)} else {WScript.Echo (“Hello”)}… Read More »