Does it have automatic error handling, so that if one command fails, the whole script fails too? Last time I tried it, I needed to write
if ($LastExitCode -ne 0)
after each command. if ($LastExitCode -ne 0)
after each command.Great tool for Windows admins who haven't realized they can write quick and dirty C# scripts cross platform for a decade now.