TestimoX

API Reference

Command

Get-CxDefenderStatus

Namespace ComputerX.PowerShell
Inputs
System.String
Outputs
ComputerX.Security.WindowsDefenderStatus

Returns the Microsoft Defender health and configuration status for a computer.

Examples

Authored help example

Example 1: Reviews the local Defender state after a signature update run.

PS>


Get-CxDefenderStatus | Format-List *
        

Example 2: Checks a remote server before enabling additional Defender policy changes.

PS>


Get-CxDefenderStatus -ComputerName APP-SEC-01
        

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

Get-CxDefenderStatus [-ComputerName <string>] [<CommonParameters>]
#

Parameters

ComputerName string optionalposition: 0pipeline: true (ByValue, ByPropertyName)
Target computer name. Use . for the local machine or provide a DNS/NetBIOS name. When omitted, the local computer is queried.

Outputs

ComputerX.Security.WindowsDefenderStatus