PowerShell to C# and back: Input/Output, cmdline args, conditional statements and loops by Tecoholic Team