Hello,
Now I’m trying the latest Intel vPro Technology Module for Windows PowerShell (v18.0.0.1).
I’ve only tried a few of the cmdlets so far, I’ve facing several issues. So, could you please investigate them?
#1. Get-AmtSetup
It doesn’t work at all. Everytime an exception error occurred like as follows.
PS C:\Users\shin> Get-AmtSetup | Format-Table -AutoSize -Wrap
Status Reason
------ ------
Failed Exception calling “Discover” with “0” argument(s): “Cannot marshal field ‘Password’ of type
‘CFG_GET_LOCAL_SYSETM_ACCOUNT_RESPONSE’: There is no marshaling support for this type.”
I tried it on the Meteor Lake platform (AMT 18.0.5). However, the problem occurred regardless of the AMT version. This seems to be the part that converts $$OsAdmin’s password into a secure string.
#2. Get-AMTHardwareAsset
During retrieving hardware asset information, an exception error occurred on any platform like as follows.
PS C:\Users\shin> Get-AMTHardwareAsset -ComputerName:thinkpadl13.makky.org -Credential $amtCred | Format-Table -AutoSize -Wrap
Get-ChildItem : No route can be determined to reach the destination role defined by the WSAddressing To.
At C:\IntelvProModule_18.0.0.1\Bin\IntelVpro\Get-AMTHardwareAsset.ps1:123 char:6
+ Get-ChildItem $path | ForEach-Object {
+ ~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (
[Get-ChildItem], WsmanSenderException
+ FullyQualifiedErrorId : Intel.Management.Wsman.WsmanSenderException,Microsoft.PowerShell.Commands.GetChildItemCommand
ComputerName PSParentPath Name Value
------------ ------------ ---- -----
thinkpadl13.makky.org IntelVpro\AmtSystem::\HardwareAssets\BIOS\Primary BIOS Version R15ET60W(1.41)
thinkpadl13.makky.org IntelVpro\AmtSystem::\HardwareAssets\BIOS\Primary BIOS ReleaseDate 2/5/20 24 12:00:00 AM
…
I believe the exception error is at retrieving processor information part. Other asset information seems to be retrieved successfully.
#3. Get-AMTPowerState with multiple platforms.
It works with individual platform, but when I used with multiple platforms, exception errors occurred as follows.
PS C:\Users\shin> Get-AMTPowerState -ComputerName:$clients2 -Credential $amtCred | Format-Table -AutoSize -Wrap
Add-Member : Cannot add a member with the name “Computer Name” because a member with that name already exists. To
overwrite the member anyway, add the Force parameter to your command.
At C:\IntelvProModule_18.0.0.1\Bin\IntelVpro\Get-AMTPowerState.ps1:150 char:13
+ … $Obj | Add-Member -MemberType noteproperty -Name “Computer Name” …
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (@{Computer Name…ion=Full Power}:PSObject) [Add-Member], InvalidOperationException
+ FullyQualifiedErrorId : MemberAlreadyExists,Microsoft.PowerShell.Commands.AddMemberCommand
Add-Member : Cannot add a member with the name “Power State ID” because a member with that name already exists. To
overwrite the member anyway, add the Force parameter to your command.
At C:\IntelvProModule_18.0.0.1\Bin\IntelVpro\Get-AMTPowerState.ps1:151 char:13
+ … $Obj | Add-Member -MemberType noteproperty -Name "Power State ID …
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (@{Computer Name…ion=Full Power}:PSObject) [Add-Member], InvalidOperationException
+ FullyQualifiedErrorId : MemberAlreadyExists,Microsoft.PowerShell.Commands.AddMemberCommand
Add-Member : Cannot add a member with the name “Power State Description” because a member with that name already
exists. To overwrite the member anyway, add the Force parameter to your command.
At C:\IntelvProModule_18.0.0.1\Bin\IntelVpro\Get-AMTPowerState.ps1:152 char:13
+ … $Obj | Add-Member -MemberType noteproperty -Name "Power State De …
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (@{Computer Name…ion=Full Power}:PSObject) [Add-Member], InvalidOperationException
+ FullyQualifiedErrorId : MemberAlreadyExists,Microsoft.PowerShell.Commands.AddMemberCommand
Add-Member : Cannot add a member with the name “Power Saving State ID” because a member with that name already exists.
To overwrite the member anyway, add the Force parameter to your command.
At C:\IntelvProModule_18.0.0.1\Bin\IntelVpro\Get-AMTPowerState.ps1:153 char:13
+ … $Obj | Add-Member -MemberType noteproperty -Name "Power Saving S …
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (@{Computer Name…ion=Full Power}:PSObject) [Add-Member], InvalidOperationException
+ FullyQualifiedErrorId : MemberAlreadyExists,Microsoft.PowerShell.Commands.AddMemberCommand
Add-Member : Cannot add a member with the name “Power Saving State Description” because a member with that name already exists. To overwrite the member anyway, add the Force parameter to your command.
At C:\IntelvProModule_18.0.0.1\Bin\IntelVpro\Get-AMTPowerState.ps1:154 char:13
+ … $Obj | Add-Member -MemberType noteproperty -Name "Power Saving S …
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (@{Computer Name…ion=Full Power}:PSObject) [Add-Member], InvalidOperationException
+ FullyQualifiedErrorId : MemberAlreadyExists,Microsoft.PowerShell.Commands.AddMemberCommand
Computer Name Power State ID Power State Description Power Saving State ID Power Saving State Description
------------- -------------- ----------------------- --------------------- ------------------------------
thinkpadt14g2.makky.org 2 On (S0) 2 Full Power
thinkpadt14g2.makky.org 2 On (S0) 2 Full Power
It seems that those errors has occurred in the creation part of the data to be output. By the way, Get-AMTFirmwareVersion works without problem.
PS C:\Users\shin> Get-AMTFirmwareVersion -ComputerName:$clients2 -Credential $amtCred | Format-Table -AutoSize -Wrap
ComputerName Property Value
------------ -------- -----
thinkpadt14g2.makky.org AMT FW Core Version 15.0.47.2473
thinkpadl13.makky.org AMT FW Core Version 14.1.70.2228
#4. Get-AMTPowerState with older platform
This is lower priority issue. When I tried to get power state from very older platform, an error occurred.
PS C:\Users\shin> Get-AMTPowerState -ComputerName:thinkpadx240.makky.org -Credential $amtCred | Format-Table -AutoSize -Wrap
Computer Name Power State Description Reason
------------- ----------------------- ------
thinkpadx240.makky.org Cannot connect Exception calling “Enumerate” with “2” argument(s): “No route can be determined to reach the destination role defined by the WSAddressing To.”
I looked through the Get-AMTPowerState.ps1 and found it tring to get power saving state by using CIM clss “IPS_PowerManagementService”. But it is not implemented on older platform’s firmware( < AMT 10.0).
Best regards,
smaki