Set-CMAdvancedThreatProtectionPolicy

Sets an advanced threat protection policy

Syntax

Set-CMAdvancedThreatProtectionPolicy
   [-FilePath <String>]
   [-SampleSharingType <SampleSharingType>]
   [-TelemetryReportingFrequencyType <TelemetryReportingFrequencyType>]
   [-Order <PriorityChangeType>]
   [-Description <String>]
   [-Digest <ConfigurationItem>]
   [-DigestPath <String>]
   [-DigestXml <String>]
   [-Id] <Int32>
   [-NewName <String>]
   [-PassThru]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-CMAdvancedThreatProtectionPolicy
   [-InputObject] <IResultObject>
   [-FilePath <String>]
   [-SampleSharingType <SampleSharingType>]
   [-TelemetryReportingFrequencyType <TelemetryReportingFrequencyType>]
   [-Order <PriorityChangeType>]
   [-Description <String>]
   [-Digest <ConfigurationItem>]
   [-DigestPath <String>]
   [-DigestXml <String>]
   [-NewName <String>]
   [-PassThru]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-CMAdvancedThreatProtectionPolicy
   [-FilePath <String>]
   [-SampleSharingType <SampleSharingType>]
   [-TelemetryReportingFrequencyType <TelemetryReportingFrequencyType>]
   [-Order <PriorityChangeType>]
   [-Description <String>]
   [-Digest <ConfigurationItem>]
   [-DigestPath <String>]
   [-DigestXml <String>]
   [-Name] <String>
   [-NewName <String>]
   [-PassThru]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Examples

Example 1

PS C:\>

Required Parameters

-Id
Type:Int32
Aliases:CIId, CI_ID
Position:0
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-InputObject
Type:IResultObject
Position:0
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-Name
Type:String
Aliases:LocalizedDisplayName
Position:0
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Optional Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Description
Type:String
Aliases:LocalizedDescription
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Digest
Type:ConfigurationItem
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-DigestPath
Type:String
Aliases:DesiredConfigurationDigestPath
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-DigestXml
Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-DisableWildcardHandling

DisableWildcardHandling treats wildcard characters as literal character values. Cannot be combined with ForceWildcardHandling.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-FilePath
Type:String
Aliases:ConfigurationFileLocation
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ForceWildcardHandling

ForceWildcardHandling processes wildcard characters and may lead to unexpected behavior (not recommended). Cannot be combined with DisableWildcardHandling.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-NewName
Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Order
Type:PriorityChangeType
Parameter Sets:Increase, Decrease
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-PassThru

Returns an object representing the item with which you are working. By default, this cmdlet may not generate any output.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-SampleSharingType
Type:SampleSharingType
Parameter Sets:None, All
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-TelemetryReportingFrequencyType
Type:TelemetryReportingFrequencyType
Parameter Sets:Normal, Expedited
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Inputs

Microsoft.ConfigurationManagement.ManagementProvider.IResultObject

Microsoft.ConfigurationManagement.DesiredConfigurationManagement.ConfigurationItem

Outputs

System.Object