TestimoX

API Reference

Command

Set-CxDefenderSampleConsent

Namespace ComputerX.PowerShell

Implements the Set-CxDefenderSampleConsent cmdlet.

Examples

Authored help example

Example 1


Set-CxDefenderSampleConsent -ComputerName SERVER1
        

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

Set-CxDefenderSampleConsent -Level <AlwaysPrompt|SendSafe|NeverSend|SendAll> [-ComputerName <string>] [<CommonParameters>]
#

Parameters

Level SubmitSamplesConsentLevel requiredposition: 0pipeline: falsevalues: 4
Gets or sets the Level parameter. Possible values: AlwaysPrompt, SendSafe, NeverSend, SendAll
Possible values: AlwaysPrompt, SendSafe, NeverSend, SendAll
ComputerName string optionalposition: 1pipeline: false
Target computer(s). Use '.' for local computer or provide DNS names.