Initial Windows port of scripts.
Move all brains to powershell.