- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear Sir/Madam,
How is this achievable with PowerShell?
I've looked through the swagger API - but can't seem to find it.
Please help?
Kindest regards
Yasser
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello YasserA,
Thank you so much for contacting Intel customer support,
In regard to your question, the only options that we have for power shell scripts in reference to an endpoint’s power state are the ones below:
Set-IntelEMAEndpointPowerState: Sends a specified power command to an
endpoint.
Set-IntelEMAEndpointPowerStateBulkFile: Sends a specified power command to a
list of endpoints managed by Intel(R) EMA.
Both commands are meant to be used to change a computer’s power state to either reset it, reboot it or wake up an endpoint.
Best regards,
Victor G.
Intel Technical Support Technician
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi YasserA,
You can use the Endpoint details API /api/latest/endpoints/{endpointId} to get the power status. Power status is part of the information returned from the API.
Regards,
Jimmy Wai
Technical Sales Specialist, Intel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear Victor,
Many thanks for the quick reply!
Intel SCS powershell provided much more functionality - is there any development going on to get power state querying available in PowerShell?
also - if not PowerShell - is this power state querying functionality available via Javascript or any other language?
Kindest regards
Yasser
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear Jimmy,
Many thanks for your quick response!
I noticed in the sample script (Get-IntelEMAEndpointFullDetails.ps1) it has the following:
0 {$endpointResult.PowerState = [string]$endpointResult.PowerState + " (On)"}
1 {$endpointResult.PowerState = [string]$endpointResult.PowerState + " (On)"}
2 {$endpointResult.PowerState = [string]$endpointResult.PowerState + " (Off)"}
3 {$endpointResult.PowerState = [string]$endpointResult.PowerState + " (Off)"}
4 {$endpointResult.PowerState = [string]$endpointResult.PowerState + " (Sleep)"}
5 {$endpointResult.PowerState = [string]$endpointResult.PowerState + " (Hibernate)"}
6 {$endpointResult.PowerState = [string]$endpointResult.PowerState + " (On)"}
I couldn't find the details under endpoints in swagger - but I need to know what the 3 On states mean? and the 2 Off states? Can you please shed some more light?
Is one of them Standby? How do they correlate with the S0 to S5 states - etc?
Many thanks - all help is appreciated!
Kindest regards
Yasser
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello YasserA,
Thank you for your response.
Please let me review this information internally, and kindly wait for an update.
Once we have more information to share, we will post it on this thread.
Regards,
Victor G.
Intel Technical Support Technician
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello YasserA,
Thank you for your patience.
You can use the following command:
Get-IntelEMAEndpointFullDetails.ps1
In Endpoint Details you will find the following:
"PowerState": "0 (On)",
"PowerStateUpdate": "2023-05-03T03:19:45Z",
"IsConnected": true,
"IsCiraConnected": true,
Best regards,
Victor G.
Intel Technical Support Technician
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello YasserA,
I am just following up to double-check if you were able to gather the requested information. Otherwise, let us know if you require more time to accomplish this.
Regards
Jose A.
Intel Customer Support Technician
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello YasserA,
We have not heard back from you.
If you need any additional information, please submit a new question as this thread will no longer be monitored.
Regards,
Victor G.
Intel Technical Support Technician

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page