CB-7341 Port tooling/platform scripts from WSH to NodeJS