Partilhar via


New-CMConfigurationPolicyDeployment

SYNOPSIS

Cria uma implementação de política de configuração.

SYNTAX

Implementar ADFWPolicyByValueMandatory (Padrão)

New-CMConfigurationPolicyDeployment -FirewallPolicy <IResultObject> [-Schedule <IResultObject>]
 [-Collection <IResultObject>] [-CollectionId <String>] [-CollectionName <String>] [-DisableWildcardHandling]
 [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]

Implementar O Presidente da Organização das Nações DoMS

New-CMConfigurationPolicyDeployment -CoManagementPolicy <IResultObject> [-Collection <IResultObject>]
 [-CollectionId <String>] [-CollectionName <String>] [-DisableWildcardHandling] [-ForceWildcardHandling]
 [-WhatIf] [-Confirm] [<CommonParameters>]

Implementar O Implante DeSemcrópico DePolicyByIdMandatory

New-CMConfigurationPolicyDeployment -CoManagementPolicyId <String> [-Collection <IResultObject>]
 [-CollectionId <String>] [-CollectionName <String>] [-DisableWildcardHandling] [-ForceWildcardHandling]
 [-WhatIf] [-Confirm] [<CommonParameters>]

Implementar O ImplanteCoMgmtPolicyByNameMandatory

New-CMConfigurationPolicyDeployment -CoManagementPolicyName <String> [-Collection <IResultObject>]
 [-CollectionId <String>] [-CollectionName <String>] [-DisableWildcardHandling] [-ForceWildcardHandling]
 [-WhatIf] [-Confirm] [<CommonParameters>]

Implementar CommonPolicyByValueMandatory

New-CMConfigurationPolicyDeployment -CommonProfile <IResultObject> [-GenerateAlert <Boolean>]
 [-MonitoredByScom <Boolean>] [-ParameterValue <Int32>] [-PostponeDateTime <DateTime>]
 [-Schedule <IResultObject>] [-Collection <IResultObject>] [-CollectionId <String>] [-CollectionName <String>]
 [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]

Implementar CommonPolicyByIdMandatory

New-CMConfigurationPolicyDeployment -CommonProfileId <String> [-GenerateAlert <Boolean>]
 [-MonitoredByScom <Boolean>] [-ParameterValue <Int32>] [-PostponeDateTime <DateTime>]
 [-Schedule <IResultObject>] [-Collection <IResultObject>] [-CollectionId <String>] [-CollectionName <String>]
 [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]

Implementar CommonPolicyByNameMandatory

New-CMConfigurationPolicyDeployment -CommonProfileName <String> [-GenerateAlert <Boolean>]
 [-MonitoredByScom <Boolean>] [-ParameterValue <Int32>] [-PostponeDateTime <DateTime>]
 [-Schedule <IResultObject>] [-Collection <IResultObject>] [-CollectionId <String>] [-CollectionName <String>]
 [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]

Implantação StemPolicyByIdMandatory

New-CMConfigurationPolicyDeployment [-EnableEnforcement <Boolean>] [-GenerateAlert <Boolean>]
 [-MonitoredByScom <Boolean>] [-OverrideServiceWindow <Boolean>] [-ParameterValue <Int32>]
 [-PostponeDateTime <DateTime>] [-Schedule <IResultObject>] -UserDataAndProfileId <String>
 [-Collection <IResultObject>] [-CollectionId <String>] [-CollectionName <String>] [-DisableWildcardHandling]
 [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]

ImplementarusmPolicyByNameMandatory

New-CMConfigurationPolicyDeployment [-EnableEnforcement <Boolean>] [-GenerateAlert <Boolean>]
 [-MonitoredByScom <Boolean>] [-OverrideServiceWindow <Boolean>] [-ParameterValue <Int32>]
 [-PostponeDateTime <DateTime>] [-Schedule <IResultObject>] -UserDataAndProfileName <String>
 [-Collection <IResultObject>] [-CollectionId <String>] [-CollectionName <String>] [-DisableWildcardHandling]
 [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]

DeployUsmPolicyByValueMandatory

New-CMConfigurationPolicyDeployment [-EnableEnforcement <Boolean>] [-GenerateAlert <Boolean>]
 [-MonitoredByScom <Boolean>] [-OverrideServiceWindow <Boolean>] [-ParameterValue <Int32>]
 [-PostponeDateTime <DateTime>] [-Schedule <IResultObject>] -UserDataAndProfile <IResultObject>
 [-Collection <IResultObject>] [-CollectionId <String>] [-CollectionName <String>] [-DisableWildcardHandling]
 [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]

Implementar APolítica da PolíticaByIdMandatory

New-CMConfigurationPolicyDeployment [-EnableEnforcement <Boolean>] [-GenerateAlert <Boolean>]
 [-MonitoredByScom <Boolean>] [-OverrideServiceWindow <Boolean>] [-ParameterValue <Int32>]
 [-PostponeDateTime <DateTime>] -RemoteConnectionProfileId <String> [-Schedule <IResultObject>]
 [-Collection <IResultObject>] [-CollectionId <String>] [-CollectionName <String>] [-DisableWildcardHandling]
 [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]

Implementar a PolíticarcbyNameMandatory

New-CMConfigurationPolicyDeployment [-EnableEnforcement <Boolean>] [-GenerateAlert <Boolean>]
 [-MonitoredByScom <Boolean>] [-OverrideServiceWindow <Boolean>] [-ParameterValue <Int32>]
 [-PostponeDateTime <DateTime>] -RemoteConnectionProfileName <String> [-Schedule <IResultObject>]
 [-Collection <IResultObject>] [-CollectionId <String>] [-CollectionName <String>] [-DisableWildcardHandling]
 [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]

Implementar A PolíticarcbyValueMandatory

New-CMConfigurationPolicyDeployment [-EnableEnforcement <Boolean>] [-GenerateAlert <Boolean>]
 [-MonitoredByScom <Boolean>] [-OverrideServiceWindow <Boolean>] [-ParameterValue <Int32>]
 [-PostponeDateTime <DateTime>] -RemoteConnectionProfile <IResultObject> [-Schedule <IResultObject>]
 [-Collection <IResultObject>] [-CollectionId <String>] [-CollectionName <String>] [-DisableWildcardHandling]
 [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]

Implementar FWPolicyByIdMandatory

New-CMConfigurationPolicyDeployment -FirewallPolicyId <String> [-Schedule <IResultObject>]
 [-Collection <IResultObject>] [-CollectionId <String>] [-CollectionName <String>] [-DisableWildcardHandling]
 [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]

Implementar ImplementaÇÃOFWPolicyByNameMandatory

New-CMConfigurationPolicyDeployment -FirewallPolicyName <String> [-Schedule <IResultObject>]
 [-Collection <IResultObject>] [-CollectionId <String>] [-CollectionName <String>] [-DisableWildcardHandling]
 [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]

DESCRIPTION

Nota

Executar cmdlets do Gestor de Configuração a partir da unidade do site do Gestor de Configuração, por exemplo PS XYZ:\> . Para mais informações, consulte a partida.

EXAMPLES

Exemplo 1

PS XYZ:\>

PARAMETERS

-CoManagementPolicy

{{ Preencha CoManagementPolicy Description }}

Type: IResultObject
Parameter Sets: DeployCoMgmtPolicyByValueMandatory
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-CoManagementPolicyId

{{ Preencha CoManagementPolicyId Description }}

Type: String
Parameter Sets: DeployCoMgmtPolicyByIdMandatory
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-CoManagementPolicyName

{{ Preencha CoManagementPolicyName Descrição do Nome }}

Type: String
Parameter Sets: DeployCoMgmtPolicyByNameMandatory
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Coleção

Type: IResultObject
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-CollectionId

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Nome de coleção

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: True

-CommonProfile

{{ Preencha a descrição do Ficheiro Comum }}

Type: IResultObject
Parameter Sets: DeployCommonPolicyByValueMandatory
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-CommonProfileId

{{ Preencha a descrição commonProfileId }}

Type: String
Parameter Sets: DeployCommonPolicyByIdMandatory
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Nome CommonProfile

{{ Preencha a descrição do nome commonProfileName }}

Type: String
Parameter Sets: DeployCommonPolicyByNameMandatory
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Confirm

Solicita a sua confirmação antes de executar o cmdlet.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-DisableWildcardHandling

Este parâmetro trata os caracteres wildcard como valores de caracteres literais. Não pode combiná-lo com ForceWildcardHandling.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Ativar a Ativação

Type: Boolean
Parameter Sets: DeployUSMPolicyByIdMandatory, DeployUSMPolicyByNameMandatory, DeployUSMPolicyByValueMandatory, DeployRCPolicyByIdMandatory, DeployRCPolicyByNameMandatory, DeployRCPolicyByValueMandatory
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-FirewallPolicy

Type: IResultObject
Parameter Sets: DeployFWPolicyByValueMandatory
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-FirewallPolicyId

Type: String
Parameter Sets: DeployFWPolicyByIdMandatory
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-FirewallPolicyName

Type: String
Parameter Sets: DeployFWPolicyByNameMandatory
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-ForceWildcardHandling

Este parâmetro processa caracteres wildcard e pode levar a um comportamento inesperado (não recomendado). Não é possível combiná-lo com DisableWildcardHandling.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-GenerateAlert

Type: Boolean
Parameter Sets: DeployCommonPolicyByValueMandatory, DeployCommonPolicyByIdMandatory, DeployCommonPolicyByNameMandatory, DeployUSMPolicyByIdMandatory, DeployUSMPolicyByNameMandatory, DeployUSMPolicyByValueMandatory, DeployRCPolicyByIdMandatory, DeployRCPolicyByNameMandatory, DeployRCPolicyByValueMandatory
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-MonitoredByScom

Type: Boolean
Parameter Sets: DeployCommonPolicyByValueMandatory, DeployCommonPolicyByIdMandatory, DeployCommonPolicyByNameMandatory, DeployUSMPolicyByIdMandatory, DeployUSMPolicyByNameMandatory, DeployUSMPolicyByValueMandatory, DeployRCPolicyByIdMandatory, DeployRCPolicyByNameMandatory, DeployRCPolicyByValueMandatory
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-OverrideServiceWindow

Type: Boolean
Parameter Sets: DeployUSMPolicyByIdMandatory, DeployUSMPolicyByNameMandatory, DeployUSMPolicyByValueMandatory, DeployRCPolicyByIdMandatory, DeployRCPolicyByNameMandatory, DeployRCPolicyByValueMandatory
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-ParâmetrosValue

Type: Int32
Parameter Sets: DeployCommonPolicyByValueMandatory, DeployCommonPolicyByIdMandatory, DeployCommonPolicyByNameMandatory, DeployUSMPolicyByIdMandatory, DeployUSMPolicyByNameMandatory, DeployUSMPolicyByValueMandatory, DeployRCPolicyByIdMandatory, DeployRCPolicyByNameMandatory, DeployRCPolicyByValueMandatory
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Adiar Hora do Natal

Type: DateTime
Parameter Sets: DeployCommonPolicyByValueMandatory, DeployCommonPolicyByIdMandatory, DeployCommonPolicyByNameMandatory, DeployUSMPolicyByIdMandatory, DeployUSMPolicyByNameMandatory, DeployUSMPolicyByValueMandatory, DeployRCPolicyByIdMandatory, DeployRCPolicyByNameMandatory, DeployRCPolicyByValueMandatory
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-RemoteConnectionProfile

Type: IResultObject
Parameter Sets: DeployRCPolicyByValueMandatory
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-RemoteConnectionProfileId

Type: String
Parameter Sets: DeployRCPolicyByIdMandatory
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-RemoteConnectionProfileName

Type: String
Parameter Sets: DeployRCPolicyByNameMandatory
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Horário

Type: IResultObject
Parameter Sets: DeployFWPolicyByValueMandatory, DeployCommonPolicyByValueMandatory, DeployCommonPolicyByIdMandatory, DeployCommonPolicyByNameMandatory, DeployUSMPolicyByIdMandatory, DeployUSMPolicyByNameMandatory, DeployUSMPolicyByValueMandatory, DeployRCPolicyByIdMandatory, DeployRCPolicyByNameMandatory, DeployRCPolicyByValueMandatory, DeployFWPolicyByIdMandatory, DeployFWPolicyByNameMandatory
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-UserDataAndProfile

Type: IResultObject
Parameter Sets: DeployUSMPolicyByValueMandatory
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-UserDataAndProfileId

Type: String
Parameter Sets: DeployUSMPolicyByIdMandatory
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-UserDataAndProfileName

Type: String
Parameter Sets: DeployUSMPolicyByNameMandatory
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

- O QueIf

Apresenta o que aconteceria mediante a execução do cmdlet. O comandante não funciona.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

Este cmdlet suporta os parâmetros comuns: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction e -WarningVariable. Para mais informações, consulte about_CommonParameters.

INPUTS

Microsoft.ConfigurationManagement.ManagementProvider.IResultObject

OUTPUTS

Sistema.Objeto

NOTAS