Hi Robert,
WHS Dev Guidelines are here:
http://www.microsoft.com/downloads/details.aspx?FamilyID=fd907752-0db0-4a6f-846d-974c19cd08fe&DisplayLang=enYou've got the right idea, though. Long-running stuff needs to go in a Windows Service (or maybe a Scheduled Task if you just need to fire it on a schedule). The console does continue to run after the user launches it for the first time, even if they "close" it, but you can't guarantee how long it'll run for.
Tentacle Blog:
http://www.tentaclesoftware.com/blog/
WHS Disk Management:
http://www.tentaclesoftware.com/WHSDiskManagement/