Summary
Intel® Endpoint Management Assistant reboot from Powershell console.
Description
Unable to reboot a machine with the Intel® EMA API error message: Model Cannon be null
Resolution
In order to reboot it, follow the next steps:
- Go into the same directory as when they downloaded the API samples. Specifically, Set-IntelEMAEndpointPowerState.ps1 sample Powershell script.
- Use the -emaServerURL switch to call the server.
- Put in the fully qualified name of the server.
- Use the hostname switch.
- Enter the name of the hostname that is in EMA. It should be in the EMA WebUI console. Note: They can also find the system ID in the console.
- Use the power state switch to call the command desire, in this example reset. The EMA WebU console also has all the various reset, reboot, wake options available.
- Verbose for debugging logs.
Example of the commands on the power shell:
PS> ./Set-IntelEMAEndpointPowerState.ps1 -emaServerURL ema.westus2.cloudapp.azure.com -hostname UsersLaptop -powerState= Reset -Verbose