Skip to main content

Overview

Get all properties of a specified local WMI class. This command is useful for understanding the structure and available properties of WMI classes before querying their instances.

Syntax

SharpSCCM local class-properties <wmi-class> [options]

Parameters

wmi-class
string
required
The WMI class to query (e.g., “SMS_Authority”)
wmi-namespace
string
The WMI namespace to query (default: “root\CCM”)

Examples

# Get properties of SMS_Authority class
SharpSCCM local class-properties SMS_Authority

Output Format

The command outputs all properties with their data types:
[+] Connecting to \\127.0.0.1\root\CCM
-----------------------------------
SMS_Authority
-----------------------------------
Capabilities (String)
CurrentManagementPoint (String)
Index (UInt32)
Name (String)
PolicyOrder (UInt32)
PolicyRequestTarget (String)
Protocol (String)
SigningCertificate (String)
Version (UInt32)
-----------------------------------

Common Data Types

TypeDescription
StringText data
UInt3232-bit unsigned integer
BooleanTrue/false value
DateTimeDate and time value
ObjectComplex object reference

Use Cases

Before running complex queries, use this command to understand what properties are available for filtering and selection.
Verify data types of properties to ensure proper formatting in WHERE conditions and property selections.
Explore the schema of WMI classes to understand their structure and relationships.