-
Notifications
You must be signed in to change notification settings - Fork 2
Invoke MdeMachineAntivirusScan
Jan-Henrik Damaschke edited this page Nov 24, 2022
·
1 revision
external help file: PSMDE-help.xml Module Name: PSMDE online version: https://learn.microsoft.com/en-us/microsoft-365/security/... schema: 2.0.0
Initiate Microsoft Defender Antivirus scan on a device.
Invoke-MdeMachineAntivirusScan [-id] <String> [-comment] <String> [[-scanType] <String>] [<CommonParameters>]
Initiate Microsoft Defender Antivirus scan on a device.
Invoke-MdeMachineAntivirusScan -id "MACHINE_ID" -comment "Your comment"
Invoke-MdeMachineAntivirusScan -id "MACHINE_ID" -comment "Your comment" -scanType 'Full'
Specifies the id of the target MDE machine.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False
Comment to associate with the action.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Optional. Defines the type of the Scan. Allowed values are: 'Quick' or 'Full' (default: 'Quick').
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
Default value: Quick
Accept pipeline input: False
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.
Author: Jan-Henrik Damaschke
https://learn.microsoft.com/en-us/microsoft-365/security/...