Set-CMSite
Set-CMSite
Changes security scope settings for Configuration Manager sites.
構文
Parameter Set: SetByNameMandatory
Set-CMSite -Name <String> [-AddActiveDirectoryForest <IResultObject[]> ] [-AddCertificateByPath <String[]> ] [-AddClientRequestServiceType <ClientRequestServiceType> {ClientNotificationTcp | ClientRequestHttpTcp | ClientRequestHttpTcpDefault | ClientRequestsHttpsTcp | ClientRequestsHttpsTcpDefault | WakeOnLanUdp} ] [-ClientCertificateCustomStoreName <String> ] [-ClientCertificateSelectionCriteriaType <ClientCertificateSelectionCriteriaType> {CertificateSubjectContainsString | CertificateSubjectOrSanIncludesAtrributes | ClientAuthentication} ] [-ClientCertificateSelectionCriteriaValue <String> ] [-ClientCheckCertificateRevocationListForSiteSystem <Boolean> ] [-ClientComputerCommunicationType <ClientComputerCommunicationType> {HttpsOnly | HttpsOrHttp} ] [-Comment <String> ] [-ConcurrentSendingDelayBeforeRetryingMinutes <Int32> ] [-CriticalAlertWhenFreeDiskSpaceFallBelowFollowingValueGB <Int32> ] [-EnableWakeOnLan <Boolean> ] [-GenerateAlertWhenFreeDiskSpaceOnSiteDatabaseIsLow <Boolean> ] [-MaximumConcurrentSendingForAllSite <Int32> ] [-MaximumConcurrentSendingForPerSite <Int32> ] [-MaximumNumberOfSendingWakeUpPacketBeforePausing <Int32> ] [-PortForClientRequestServiceType <Int32> ] [-RemoveActiveDirectoryForest <IResultObject[]> ] [-RemoveCertificateByKey <String[]> ] [-RemoveClientRequestServiceType <ClientRequestServiceType> {ClientNotificationTcp | ClientRequestHttpTcp | ClientRequestHttpTcpDefault | ClientRequestsHttpsTcp | ClientRequestsHttpsTcpDefault | WakeOnLanUdp} ] [-RequireSha256 <Boolean> ] [-RequireSigning <Boolean> ] [-RetryNumberForConcurrentSending <Int32> ] [-RetryNumberOfSendingWakeUpPacketTransmission <Int32> ] [-SendingWakeUpPacketBeforePausingWaitSeconds <Int32> ] [-SendingWakeUpPacketTransmissionDelayMinutes <Int32> ] [-SendingWakeUpPacketTransmissionOffsetMinutes <Int32> ] [-TakeActionForMultipleCertificateMatchCriteria <TakeActionForMultipleCertificateMatchCriteria> {FailSelectionAndSendErrorMessage | SelectCertificateWithLongestValidityPeriod} ] [-ThreadNumberOfSendingWakeUpPacket <Int32> ] [-UseCustomWebSite <Boolean> ] [-UseEncryption <Boolean> ] [-UsePkiClientCertificate <Boolean> ] [-WakeOnLanTransmissionMethodType <WakeOnLanTransmissionMethodType> {SubnetDirectedBroadcasts | Unicast} ] [-WakeOnLanType <WakeOnLanType> {UseAmtPowerOnCommandsOnly | UseAmtPowerOnCommandsORWakeUpPackets | UseWakeUpPacketsOnly} ] [-WarningAlertWhenFreeDiskSpaceFallBelowFollowingValueGB <Int32> ] [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: SetByObject
Set-CMSite -InputObject <IResultObject> [-AddActiveDirectoryForest <IResultObject[]> ] [-AddCertificateByPath <String[]> ] [-AddClientRequestServiceType <ClientRequestServiceType> {ClientNotificationTcp | ClientRequestHttpTcp | ClientRequestHttpTcpDefault | ClientRequestsHttpsTcp | ClientRequestsHttpsTcpDefault | WakeOnLanUdp} ] [-ClientCertificateCustomStoreName <String> ] [-ClientCertificateSelectionCriteriaType <ClientCertificateSelectionCriteriaType> {CertificateSubjectContainsString | CertificateSubjectOrSanIncludesAtrributes | ClientAuthentication} ] [-ClientCertificateSelectionCriteriaValue <String> ] [-ClientCheckCertificateRevocationListForSiteSystem <Boolean> ] [-ClientComputerCommunicationType <ClientComputerCommunicationType> {HttpsOnly | HttpsOrHttp} ] [-Comment <String> ] [-ConcurrentSendingDelayBeforeRetryingMinutes <Int32> ] [-CriticalAlertWhenFreeDiskSpaceFallBelowFollowingValueGB <Int32> ] [-EnableWakeOnLan <Boolean> ] [-GenerateAlertWhenFreeDiskSpaceOnSiteDatabaseIsLow <Boolean> ] [-MaximumConcurrentSendingForAllSite <Int32> ] [-MaximumConcurrentSendingForPerSite <Int32> ] [-MaximumNumberOfSendingWakeUpPacketBeforePausing <Int32> ] [-PortForClientRequestServiceType <Int32> ] [-RemoveActiveDirectoryForest <IResultObject[]> ] [-RemoveCertificateByKey <String[]> ] [-RemoveClientRequestServiceType <ClientRequestServiceType> {ClientNotificationTcp | ClientRequestHttpTcp | ClientRequestHttpTcpDefault | ClientRequestsHttpsTcp | ClientRequestsHttpsTcpDefault | WakeOnLanUdp} ] [-RequireSha256 <Boolean> ] [-RequireSigning <Boolean> ] [-RetryNumberForConcurrentSending <Int32> ] [-RetryNumberOfSendingWakeUpPacketTransmission <Int32> ] [-SendingWakeUpPacketBeforePausingWaitSeconds <Int32> ] [-SendingWakeUpPacketTransmissionDelayMinutes <Int32> ] [-SendingWakeUpPacketTransmissionOffsetMinutes <Int32> ] [-TakeActionForMultipleCertificateMatchCriteria <TakeActionForMultipleCertificateMatchCriteria> {FailSelectionAndSendErrorMessage | SelectCertificateWithLongestValidityPeriod} ] [-ThreadNumberOfSendingWakeUpPacket <Int32> ] [-UseCustomWebSite <Boolean> ] [-UseEncryption <Boolean> ] [-UsePkiClientCertificate <Boolean> ] [-WakeOnLanTransmissionMethodType <WakeOnLanTransmissionMethodType> {SubnetDirectedBroadcasts | Unicast} ] [-WakeOnLanType <WakeOnLanType> {UseAmtPowerOnCommandsOnly | UseAmtPowerOnCommandsORWakeUpPackets | UseWakeUpPacketsOnly} ] [-WarningAlertWhenFreeDiskSpaceFallBelowFollowingValueGB <Int32> ] [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: SetBySiteCodeMandatory
Set-CMSite -SiteCode <String> [-AddActiveDirectoryForest <IResultObject[]> ] [-AddCertificateByPath <String[]> ] [-AddClientRequestServiceType <ClientRequestServiceType> {ClientNotificationTcp | ClientRequestHttpTcp | ClientRequestHttpTcpDefault | ClientRequestsHttpsTcp | ClientRequestsHttpsTcpDefault | WakeOnLanUdp} ] [-ClientCertificateCustomStoreName <String> ] [-ClientCertificateSelectionCriteriaType <ClientCertificateSelectionCriteriaType> {CertificateSubjectContainsString | CertificateSubjectOrSanIncludesAtrributes | ClientAuthentication} ] [-ClientCertificateSelectionCriteriaValue <String> ] [-ClientCheckCertificateRevocationListForSiteSystem <Boolean> ] [-ClientComputerCommunicationType <ClientComputerCommunicationType> {HttpsOnly | HttpsOrHttp} ] [-Comment <String> ] [-ConcurrentSendingDelayBeforeRetryingMinutes <Int32> ] [-CriticalAlertWhenFreeDiskSpaceFallBelowFollowingValueGB <Int32> ] [-EnableWakeOnLan <Boolean> ] [-GenerateAlertWhenFreeDiskSpaceOnSiteDatabaseIsLow <Boolean> ] [-MaximumConcurrentSendingForAllSite <Int32> ] [-MaximumConcurrentSendingForPerSite <Int32> ] [-MaximumNumberOfSendingWakeUpPacketBeforePausing <Int32> ] [-PortForClientRequestServiceType <Int32> ] [-RemoveActiveDirectoryForest <IResultObject[]> ] [-RemoveCertificateByKey <String[]> ] [-RemoveClientRequestServiceType <ClientRequestServiceType> {ClientNotificationTcp | ClientRequestHttpTcp | ClientRequestHttpTcpDefault | ClientRequestsHttpsTcp | ClientRequestsHttpsTcpDefault | WakeOnLanUdp} ] [-RequireSha256 <Boolean> ] [-RequireSigning <Boolean> ] [-RetryNumberForConcurrentSending <Int32> ] [-RetryNumberOfSendingWakeUpPacketTransmission <Int32> ] [-SendingWakeUpPacketBeforePausingWaitSeconds <Int32> ] [-SendingWakeUpPacketTransmissionDelayMinutes <Int32> ] [-SendingWakeUpPacketTransmissionOffsetMinutes <Int32> ] [-TakeActionForMultipleCertificateMatchCriteria <TakeActionForMultipleCertificateMatchCriteria> {FailSelectionAndSendErrorMessage | SelectCertificateWithLongestValidityPeriod} ] [-ThreadNumberOfSendingWakeUpPacket <Int32> ] [-UseCustomWebSite <Boolean> ] [-UseEncryption <Boolean> ] [-UsePkiClientCertificate <Boolean> ] [-WakeOnLanTransmissionMethodType <WakeOnLanTransmissionMethodType> {SubnetDirectedBroadcasts | Unicast} ] [-WakeOnLanType <WakeOnLanType> {UseAmtPowerOnCommandsOnly | UseAmtPowerOnCommandsORWakeUpPackets | UseWakeUpPacketsOnly} ] [-WarningAlertWhenFreeDiskSpaceFallBelowFollowingValueGB <Int32> ] [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: SetSecurityScopeByName
Set-CMSite -Name <String> -SecurityScopeAction <SecurityScopeActionType> {AddMembership | RemoveMembership} -SecurityScopeName <String> [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: SetSecurityScopeBySiteCode
Set-CMSite -SecurityScopeAction <SecurityScopeActionType> {AddMembership | RemoveMembership} -SecurityScopeName <String> -SiteCode <String> [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: SetSecurityScopeByValue
Set-CMSite -InputObject <IResultObject> -SecurityScopeAction <SecurityScopeActionType> {AddMembership | RemoveMembership} -SecurityScopeName <String> [-Confirm] [-WhatIf] [ <CommonParameters>]
詳細説明
The Set-CMSite cmdlet changes security scope settings for one or more Microsoft System Center 2012 Configuration Manager sites. A security scope is a collection of permissions that, in conjunction with security roles, defines the configuration actions that an administrator can perform on the site. You can use this cmdlet to change the type of a security scope action and the name of a security scope for a System Center 2012 Configuration Manager site. You can specify a site for which you change security scope settings by using a site name or a site code, or you can use the Get-CMSite cmdlet to specify a site.
パラメーター
-AddActiveDirectoryForest<IResultObject[]>
Specifies an array of Active Directory Forest objects to publish in Active Directory Domain Services. To obtain an AD Forest object, use the Get-ADForest cmdlet.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-AddCertificateByPath<String[]>
Specifies an array of paths to certificates.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-AddClientRequestServiceType<ClientRequestServiceType>
Specifies a service type to add. Valid values are:
-- ClientNotificationTcp
-- ClientRequestHttpTcp
-- ClientRequestHttpTcpDefault
-- ClientRequestHttpsTcp
-- ClientRequestHttpsTcpDefault
-- WakeOnLanUdp
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-ClientCertificateCustomStoreName<String>
Specifies the name of a custom store that contains client certificates.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-ClientCertificateSelectionCriteriaType<ClientCertificateSelectionCriteriaType>
Specifies the criteria type to match in a client certificate, such as a string or attribute for a subject or subject alt name.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-ClientCertificateSelectionCriteriaValue<String>
Specifies a value for the ClientCertificateSelectionCriteriaType.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-ClientCheckCertificateRevocationListForSiteSystem<Boolean>
Indicates whether to check the Certificate Revocation List (CRL) for a certificate.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-ClientComputerCommunicationType<ClientComputerCommunicationType>
Specifies the communication type. Valid values are: HttpsOnly and HttpsOrHttp.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-Comment<String>
Specifies a comment for a Configuration Manager site.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-ConcurrentSendingDelayBeforeRetryingMinutes<Int32>
Specifies the number of minutes to wait before retrying failed communication.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-CriticalAlertWhenFreeDiskSpaceFallBelowFollowingValueGB<Int32>
Specifies the free disk space threshold, in gigabytes, for a critical alert.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-EnableWakeOnLan<Boolean>
Indicates whether to send Wake On LAN packets for scheduled activities, such as software update deployment.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-GenerateAlertWhenFreeDiskSpaceOnSiteDatabaseIsLow<Boolean>
Indicates whether to generate an alert when free disk space on the site database reaches a threshold.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-InputObject<IResultObject>
Specifies a Configuration Manager site object. To obtain a Configuration Manager site object, use the Get-CMSite cmdlet.
エイリアス |
なし |
必須? |
true |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-MaximumConcurrentSendingForAllSite<Int32>
Specifies the maximum number of simultaneous communications to all sites.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-MaximumConcurrentSendingForPerSite<Int32>
Specifies the maximum number of simultaneous communications to any single site.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-MaximumNumberOfSendingWakeUpPacketBeforePausing<Int32>
Specifies the maximum number of wake up packets transmitted by this site server before pausing.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-Name<String>
Specifies the name of a Configuration Manager site.
エイリアス |
SiteName |
必須? |
true |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-PortForClientRequestServiceType<Int32>
Specifies a port number, such as 80 or 8080, for client requests.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-RemoveActiveDirectoryForest<IResultObject[]>
Specifies an array of Active Directory Forest objects to remove from Active Directory Domain Services.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-RemoveCertificateByKey<String[]>
Specifies an array of certificates to remove.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-RemoveClientRequestServiceType<ClientRequestServiceType>
Specifies a service type to remove. Valid values are:
-- ClientNotificationTcp
-- ClientRequestHttpTcp
-- ClientRequestHttpTcpDefault
-- ClientRequestHttpsTcp
-- ClientRequestHttpsTcpDefault
-- WakeOnLanUdp
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-RequireSha256<Boolean>
Indicates whether to use the SHA-256 algorithm to sign communications.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-RequireSigning<Boolean>
Indicates whether to require Configuration Manager sites to sign communications with other sites.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-RetryNumberForConcurrentSending<Int32>
Specifies the number of times to retry a failed communication.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-RetryNumberOfSendingWakeUpPacketTransmission<Int32>
Specifies the number of times a wake up packet is sent to a target computer.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-SecurityScopeAction<SecurityScopeActionType>
Specifies an action for a security scope. Valid values are: AddMembership and RemoveMembership.
エイリアス |
なし |
必須? |
true |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-SecurityScopeName<String>
Specifies the name of a security scope. A security scope name can be Default or the name of a custom security scope.
エイリアス |
なし |
必須? |
true |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-SendingWakeUpPacketBeforePausingWaitSeconds<Int32>
Specifies the number of wake up packets to send before pausing. The default value is 10.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-SendingWakeUpPacketTransmissionDelayMinutes<Int32>
Specifies the amount of time that wake up packet transmission is halted between retries.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-SendingWakeUpPacketTransmissionOffsetMinutes<Int32>
Specifies the amount of time that wake up packets are sent prior to a scheduled activity that is enabled for Wake On LAN. The default value is 3.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-SiteCode<String>
Specifies a site code for a Configuration Manager site to which you assign security scopes.
エイリアス |
なし |
必須? |
true |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-TakeActionForMultipleCertificateMatchCriteria<TakeActionForMultipleCertificateMatchCriteria>
Specifies the action to take for multiple matches of certificate criteria.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-ThreadNumberOfSendingWakeUpPacket<Int32>
Specifies the number of threads a site server uses when sending wake up packets.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-UseCustomWebSite<Boolean>
Indicates whether to use a custom web site. Use a custom web site when you do not want to use the default web site.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-UseEncryption<Boolean>
Indicates whether to use encryption for communication between sites.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-UsePkiClientCertificate<Boolean>
Indicates whether to use a PKI certificate management solution.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-WakeOnLanTransmissionMethodType<WakeOnLanTransmissionMethodType>
Specifies the type of transmission method to use for Wake On LAN transmissions.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-WakeOnLanType<WakeOnLanType>
Specifies the type of Wake On LAN packet to use.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-WarningAlertWhenFreeDiskSpaceFallBelowFollowingValueGB<Int32>
Specifies a threshold, in gigabytes, for free disk space.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-Confirm
コマンドレットを実行する前に、ユーザーに確認を求めます。
必須? |
false |
位置は? |
named |
既定値 |
false |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-WhatIf
コマンドレットを実行するとどのような結果になるかを表示します。コマンドレットは実行されません。
必須? |
false |
位置は? |
named |
既定値 |
false |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
<CommonParameters>
このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。
入力
入力型は、コマンドレットにパイプできるオブジェクトの型です。
出力
出力型は、コマンドレットによって生成されるオブジェクトの型です。
例
Example 1: Add a site to a security scope by using a site name
This command assigns a custom security scope named Scope22 to a System Center 2012 Configuration Manager site named CMSiteSystem.
PS C:\> Set-CMSite -SecurityScopeAction AddMembership -SecurityScopeName "Scope22" -SiteName "CMSiteSystem"
Example 2: Remove a security scope for a site by using the site name
This command removes the custom security scope in the previous example from a System Center 2012 Configuration Manager site named CMSiteSystem.
PS C:\> Set-CMSite -SecurityScopeAction RemoveMembership -SecurityScopeName "Scope22" -SiteName "CMSiteSystem"