API Reference
Command
Start-CxDefenderScan
Starts a Microsoft Defender scan on the local or a remote computer.
Examples
Example 1: Starts a local quick scan.
PS>
Start-CxDefenderScan
Example 2: Starts a full scan on a remote server after a suspicious file investigation.
PS>
Start-CxDefenderScan -ComputerName APP-SEC-01 -Type Full
Common Parameters
This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
For more information, see about_CommonParameters.
Syntax
Start-CxDefenderScan [-Type <Quick|Full>] [-ComputerName <string>] [<CommonParameters>]#Parameters
- Type DefenderScanType
- Defender scan type to start. Possible values: Quick, Full
- Possible values:
Quick,Full - ComputerName string
- Target computer name. Use . for the local machine or provide a DNS/NetBIOS name. When omitted, the local computer is queried.