---
title: RestartDeviceCommand.Command
framework: devicemanagement
role: symbol
role_heading: Device Management Command
path: devicemanagement/restartdevicecommand/command-data.dictionary
---

# RestartDeviceCommand.Command

The command to remotely and immediately restart a device.

## Declaration

```data
object RestartDeviceCommand.Command
```

## Properties

KextPaths: If RebuildKernelCache is true, this value specifies the paths to kexts to add to the auxiliary kernel cache since the last kernel cache rebuild. If not present, the system only adds previously discovered kexts to the kernel cache. Available: macOS 11+ NotifyUser: If true, notifies the user to restart the device at their convenience. No forced restart occurs unless the device is at loginwindow with no logged-in users. The user can dismiss the notification and ignore the request. No further notifications display unless you resend the command. Available: macOS 11.4+ RebuildKernelCache: If true, the system rebuilds the kernel cache during a device restart. If BootstrapTokenAllowedForAuthentication is true in the SecurityInfoResponse.SecurityInfo response, the device requests the bootstrap token from the MDM server prior to executing this command. Available: macOS 11+ RequestRequiresNetworkTether: If true, the device needs to be network-tethered to run the command. RequestType: The request type for this command.
