Add Machine restart operation to SDK and command-line tools