Get MdeRecommendation - Visorian/PSMDE GitHub Wiki


external help file: PSMDE-help.xml Module Name: PSMDE online version: https://learn.microsoft.com/en-us/microsoft-365/security/defender-endpoint/get-all-recommendations?view=o365-worldwide schema: 2.0.0

Get-MdeRecommendation

SYNOPSIS

Retrieves a single security recommendation by its ID or a list of all security recommendations affecting the organization.

SYNTAX

id (Default)

Get-MdeRecommendation [-id <String>] [<CommonParameters>]

filter

Get-MdeRecommendation [-filter <String>] [<CommonParameters>]

DESCRIPTION

Retrieves a single security recommendation by its ID or a list of all security recommendations affecting the organization.

EXAMPLES

EXAMPLE 1

$recommendations = Get-MdeRecommendation

EXAMPLE 2

'

EXAMPLE 3

Get-MdeRecommendation -filter "vendor+eq+'microsoft'"

PARAMETERS

-id

Optional. Specifies the id of the target MDE recommendation.

Type: String
Parameter Sets: id
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False

-filter

Optional. Specifies the OData filter for baseline configurations. A filter is supported for "id", "productName", "vendor", "recommendedVersion", "recommendationCategory", "subCategory", "severityScore", "remediationType", "recommendedProgram", "recommendedVendor", and "status".

Type: String
Parameter Sets: filter
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
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

NOTES

Author: Jan-Henrik Damaschke

RELATED LINKS

https://learn.microsoft.com/en-us/microsoft-365/security/defender-endpoint/get-all-recommendations?view=o365-worldwide

⚠️ **GitHub.com Fallback** ⚠️