API Reference
Command
Set-CxDefenderSampleConsent
Implements the Set-CxDefenderSampleConsent cmdlet.
Examples
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
- Gets or sets the Level parameter. Possible values: AlwaysPrompt, SendSafe, NeverSend, SendAll
- Possible values:
AlwaysPrompt,SendSafe,NeverSend,SendAll - ComputerName string
- Target computer(s). Use '.' for local computer or provide DNS names.