Returns all implemented sub-leafs for the given leaf.
Execute the CPUID instruction for the given leaf (eax register) and show all the sub-leafs it implements (ecx register).
public class GetCpuidSubLeafsCmdlet : Cmdlet
name | description |
---|---|
GetCpuidSubLeafsCmdlet() | The default constructor. |
Leaf { get; set; } | Gets or sets a value that contains the name of the leaf to consult. |
name | description |
---|---|
override ProcessRecord() | Process the command. |
If the CPUID instruction is not available, it always returns the message 'Can not continue. CPUID instruction is not available in this system'.
PS> Get-CpuidSubLeafs -Leaf DeterministicCacheParameters
Get-CpuidSubLeafs : Can not continue. CPUID instruction is not available in this system
...
...
...
The output may be different (depending on your system)!!!
Gets all implemented sub-leafs for 'Deterministic Cache Parameters' leaf
PS> Get-CpuidSubLeafs -Leaf DeterministicCacheParameters | Cpuid-Sub-Leafs -Leaf DeterministicCacheParameters
Leaf SubLeaf
---- -------
terministicCacheParameters Main
terministicCacheParameters One
terministicCacheParameters Two
terministicCacheParameters Three
- namespace PowerShellCpuid.CmdLets