Skip to main content
Version: 2.0.1 (preview)

Get-MdeSettingValue

SYNOPSISโ€‹

Extracts setting values from Graph API configuration policy responses

SYNTAXโ€‹

Get-MdeSettingValue [-Setting] <Object> [-ComplianceCheck] <String> [-ProgressAction <ActionPreference>]
[<CommonParameters>]

DESCRIPTIONโ€‹

Parses setting objects from Microsoft Graph API configuration policy responses and extracts the appropriate value based on the compliance check type.

EXAMPLESโ€‹

EXAMPLE 1โ€‹

Get-MdeSettingValue -Setting $settingObj -ComplianceCheck "Boolean"

Returns the extracted value (e.g., "_1" for enabled).

PARAMETERSโ€‹

-Settingโ€‹

The setting object from Graph API

Type: Object
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-ComplianceCheckโ€‹

The type of compliance check: Boolean, Range, Enum, MinimumLevel, MinimumValue, NotRequired, Manual

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-ProgressActionโ€‹

{{ Fill ProgressAction Description }}

Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParametersโ€‹

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTSโ€‹

OUTPUTSโ€‹

System.Stringโ€‹

NOTESโ€‹