Make output a bit prettier
if the onlyif resource is provided, then the value is parsed. a return value of 0 will stop exection becuase it matches the default value.
Actually execute the command.
[Validate]