To issue remote Shell commands from the AirWatch Console server, Windows environment must be installed and configured with PowerShell. By default the execution policy on Windows 2008 is set to the Restrictedscript execution mode.

Note:

If your deployment consists of an on-premise AirWatch server with Office 365, you must configure the Set-ExecutionPolicy on the AirWatch server.

To configure PowerShell on the AirWatch server:

  1. Change the script execution mode from Restricted to RemoteSigned using the following Set-ExecutionPolicy command.
    PS C:\Windows\system32> Set-ExecutionPolicy RemoteSigned
  2. Test the configured PowerShell by connecting to the server-side session. For more information on connecting to the server-side session, see Server-Side Session Commands.

Note if VMware Enterprise Systems Connector is not in use, then, both the Console and the Device Services server requires PowerShell connectivity to the Exchange server.