Article ID: 000088376 Content Type: Troubleshooting Last Reviewed: 08/09/2022

How to Reboot the System with the Powershell API (Application Programming Interface) on Intel® EMA?

BUILT IN - ARTICLE INTRO SECOND COMPONENT
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:

 

  1. Go into the same directory as when they downloaded the API samples. Specifically, Set-IntelEMAEndpointPowerState.ps1 sample Powershell script.
  2. Use the -emaServerURL switch to call the server.
  3. Put in the fully qualified name of the server.
  4. Use the hostname switch.
  5. 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.
  6. 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.
  7. 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

Related Products

This article applies to 1 products