![]() |
The following steps describe how to determine if the platform is a desktop or a laptop computer.
1. Find the instance of CIM_ComputerSystem representing the managed system, as described in Discovering CIM_ComputerSystem.
2. Examine the CIM_ComputerSystem.Dedicated property. If its value is “32”, the platform is a Desktop; if the value is 33, the platform is a Laptop.
Click here for a snippet demonstrating this step
You can execute this snippet by inserting it into the execution template found here.
$computerSystemRef =$wsmanConnectionObject.NewReference("SELECT * FROM CIM_ComputerSystem WHERE Name='ManagedSystem'")
$computerSystemInstance =$computerSystemRef.Get()
$dedicated =$computerSystemInstance.GetProperty("Dedicated")
Instance Diagram
Not applicable
Classes Used in This Flow
SDK Sample
If there is a sample demonstrating this flow, it is included in the SDK installation file. See SDK Installation Layout for details.
Copyright © 2006-2022, Intel Corporation. All rights reserved. |