New-DeployRule Command | Vmware PowerCLI Reference

New-DeployRule

Syntax

New-DeployRule
-Item < VIObjectCore[] >
-Name < String >
-Pattern < String[] >
[-NoHostSeeding ]
[-ProgressAction < ActionPreference > ]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
required
Item VIObjectCore[] named
  • pipeline
required
Name String named
required
Pattern String[] named
optional NoHostSeeding SwitchParameter named
optional ProgressAction ActionPreference named
New-DeployRule
-AllHosts
-Item < VIObjectCore[] >
-Name < String >
[-NoHostSeeding ]
[-ProgressAction < ActionPreference > ]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
required
AllHosts SwitchParameter named
required
Item VIObjectCore[] named
  • pipeline
required
Name String named
optional NoHostSeeding SwitchParameter named
optional ProgressAction ActionPreference named

Output

Examples

Related Commands

DeployRule

Add-DeployRule [-DeployRule] <DeployRuleWrapper[]> [[-At] <uint>] [-NoActivate] [<CommonParameters>]

Copy-DeployRule [-DeployRule] <DeployRuleWrapper> [-Name <string>] [-AllHosts] [-ReplaceItem <VIObjectCore[]>] [-ReplacePattern <string[]>] [-AddOrReplacePattern <string[]>] [-ClearPatterns] [-NoUpdateRuleSet] [-NoActivate] [<CommonParameters>]

Get-DeployRule [[-Name] <string[]>] [<CommonParameters>]

New-DeployRule [-Name] <string> -Pattern <string[]> -Item <VIObjectCore[]> [-NoHostSeeding] [<CommonParameters>] New-DeployRule [-Name] <string> -AllHosts -Item <VIObjectCore[]> [-NoHostSeeding] [<CommonParameters>]

Remove-DeployRule [-DeployRule] <DeployRuleWrapper[]> [-Delete] [-NoActivate] [<CommonParameters>] Remove-DeployRule [-At] <uint> [-Delete] [-NoActivate] [<CommonParameters>]

Set-DeployRule [-DeployRule] <DeployRuleWrapper> [-Name <string>] [-Pattern <string[]>] [-AllHosts] [-Item <VIObjectCore[]>] [<CommonParameters>]

DeployRuleSet

Get-DeployRuleSet [-Active] [-Working] [<CommonParameters>]

Set-DeployRuleSet [-DeployRule] <DeployRuleWrapper[]> [-NoActivate] [<CommonParameters>] Set-DeployRuleSet -Clear [-NoActivate] [<CommonParameters>]

DeployRuleSetCompliance

Repair-DeployRuleSetCompliance [-TestResult] <TestResult> [<CommonParameters>]

Test-DeployRuleSetCompliance [-VMHost] <VMHost[]> [-DeployRuleSet <DeployRuleSet>] [<CommonParameters>]