Get MdeBaselineProfile - Visorian/PSMDE GitHub Wiki
Retrieves a list of all security baselines assessment profiles created by the organization.
Get-MdeBaselineProfile [[-filter] <String>] [<CommonParameters>]
If no parameters are specified, returns all Defender for Endpoint baseline profiles.
$machines = Get-MdeBaselineProfile
$machines = Get-MdeBaselineProfile -filter "`$filter=id+eq+'123'"
Optional. Specifies the filter for baseline profiles. A filter is supported for "id", "name", "operatingSystem", "operatingSystemVersion", "status", "settingsNumber", "passedDevices" and "totalDevices".
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
PSCustomObject. The Get-MdeBaselineProfile function returns a list of or a single PSCustomObject containing the parsed baseline profile objects.
Author: Jan-Henrik Damaschke