you can write it in c# if you have to but I'd really prefer you do it in powershell that way I can run it on linux too