Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

Set-CMHierarchySetting

Updated: September 1, 2013

Applies To: System Center 2012 Configuration Manager SP1

Set-CMHierarchySetting

 

Syntax

Parameter Set: SetHierarchySetting
Set-CMHierarchySetting [-AllowPrestage <Boolean> ] [-ApprovalMethod <ApprovalMethodType> {AutomaticallyApproveAllComputers | AutomaticallyApproveComputersInTrustedDomains | ManuallyApproveEachComputer} ] [-AutomaticallyResolveConfictingRecord <Boolean> ] [-AutomaticallyUpgradeDays <Int32> ] [-EnableProgram <Boolean> ] [-FallbackSiteCode <String> ] [-Force] [-UseFallbackSite <Boolean> ] [-Confirm] [-WhatIf] [ <CommonParameters>]




Detailed Description

The Set-CMHierarchySetting cmdlet

Parameters

-AllowPrestage<Boolean>

Indicates whether to allow prestaging.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-ApprovalMethod<ApprovalMethodType>

Specifies an approval method. Acceptable values for this parameter are:

-- AutomaticallyApproveAllComputers
-- AutomaticallyApproveComputersInTrustedDomains
-- ManuallyApproveEachComputer


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-AutomaticallyResolveConfictingRecord<Boolean>

Indicates whether to automatically resolve record conflicts.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-AutomaticallyUpgradeDays<Int32>

Specifies the number of days before an automatic upgrade occurs.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-EnableProgram<Boolean>

Indicates whether to enable a program.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-FallbackSiteCode<String>

Specifies the site code for a fallback site.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Force

Performs the action without a confirmation message.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-UseFallbackSite<Boolean>

Indicates whether to use a fallback site.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Confirm

Prompts you for confirmation before executing the command.


Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-WhatIf

Describes what would happen if you executed the command without actually executing the command.


Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters.

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

Examples

Example 1: Modify the hierarchy setting

This command uses the Set-CMHierarchySetting cmdlet to modify the hierarchy setting. The command specifies the value AutomaticallyApproveAllComputers for the ApprovalMethod parameter, and also specifies the AllowPrestage parameter.


PS C:\> Set-CMHierarchySetting -AllowPrestage -ApprovalMethod AutomaticallyApproveAllComputers
 
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.