TestimoX

API Reference

Command

Start-CxDefenderScan

Namespace ComputerX.PowerShell

Starts a Microsoft Defender scan on the local or a remote computer.

Examples

Authored help example

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 optionalposition: 0pipeline: falsevalues: 2
Defender scan type to start. Possible values: Quick, Full
Possible values: Quick, Full
ComputerName string optionalposition: 1pipeline: false
Target computer name. Use . for the local machine or provide a DNS/NetBIOS name. When omitted, the local computer is queried.