Set-SPContentDeploymentPath

コンテンツ展開パスのプロパティを設定します。

構文

Set-SPContentDeploymentPath
   [-Identity] <SPContentDeploymentPathPipeBind>
   [-AssignmentCollection <SPAssignmentCollection>]
   [-Authentication <PathAuthenticationOption>]
   [-CompressionEnabled]
   [-DeploySecurityInformation <SPIncludeSecurity>]
   [-DeployUserNamesEnabled]
   [-Description <String>]
   [-DestinationCentralAdministrationURL <Uri>]
   [-EventReceiversEnabled]
   [-KeepTemporaryFilesOptions <TemporaryFilesOption>]
   [-Name <String>]
   [-PathAccount <PSCredential>]
   [-PathEnabled]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

説明

コマンドレットは Set-SPContentDeploymentPath 、コンテンツ展開ジョブのコンテンツ展開パスのプロパティを設定します。

Windows PowerShell for SharePoint 製品のアクセス許可と最新情報については、「SharePoint Server コマンドレット」のオンライン ドキュメントをご覧ください。

-------------------- 例 ---------------------

Get-SPContentDeploymentPath "Path 1" | Set-SPContentDeploymentPath -PathEnabled:$false

この例では、展開パス Path 1 を無効に設定します。

パラメーター

-AssignmentCollection

適切な破棄を行うためにオブジェクトを管理します。 SPWeb や SPSite などのオブジェクトの使用によって大量のメモリが使用される場合があるので、Windows PowerShell スクリプトでこれらのオブジェクトを使用するには適切なメモリ管理が必要です。 メモリの解放が必要になった場合は、SPAssignment オブジェクトを使用して、変数へのオブジェクトの割り当てとオブジェクトの破棄を行うことができます。 割り当てコレクションまたは Global パラメーターが使用されていない場合、SPWeb、SPSite、または SPSiteAdministration オブジェクトが使用されていると、オブジェクトは自動的に破棄されます。

Global パラメーターが使用されている場合は、オブジェクトはすべてグローバル ストアに格納されます。 Stop-SPAssignment コマンドを使用してオブジェクトの使用または破棄を直接行わないと、メモリ不足のシナリオになる場合があります。

Type:SPAssignmentCollection
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False
Applies to:SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019

-Authentication

認証元フロントエンド Web サーバーで対象の Web アプリケーションと通信するために使用する Windows ベースの認証型を設定します。

この型は、WindowsAuth または BasicAuth のいずれかの値であることが必要です。

Type:PathAuthenticationOption
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019

-CompressionEnabled

エクスポート中の圧縮を有効にします。

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019

-Confirm

コマンドレットを実行する前に確認メッセージを表示します。

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019

-DeploySecurityInformation

このコンテンツ展開パスで、エクスポート処理に含めるユーザー情報とグループ情報を指定します。 既定値は All です。

型は、None、All、または WssOnly のいずれかの値である必要があります。SharePoint Foundation のセキュリティ設定のみを適用します。 ユーザー メンバシップとロールの割り当て (Web デザイナのような既定のロール、または既定のロールから拡張したカスタム ロール) が含まれます。 各プロジェクトのアクセス制御リスト (ACL) は移行されます。 DAP または LDAP サーバーに定義されたユーザー情報は含まれません。

Type:SPIncludeSecurity
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019

-DeployUserNamesEnabled

インポート中にイベント レシーバーを有効にします。

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019

-Description

コンテンツ展開パスの説明を設定します。 この説明の長さは、英数字で最大 4,096 文字です。

この型は、有効な文字列であることが必要です。

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False
Applies to:SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019

-DestinationCentralAdministrationURL

展開先ファームの SharePoint サーバーの全体管理 URL を指定します。

型は、フォーム内の有効な URL である必要があります http://server_name.

Type:Uri
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019

-EventReceiversEnabled

インポート中にイベント レシーバーを有効にします。

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019

-Identity

更新するコンテンツ展開パスを指定します。

この型は、12345678-90ab-cdef-1234-567890bcdefgh という形式の有効な GUID であるか、コンテンツ展開ジョブの有効な名前 (DeployPath1 など) であるか、有効な SPContentDeploymentPath オブジェクト インスタンスであることが必要です。

Type:SPContentDeploymentPathPipeBind
Position:1
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False
Applies to:SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019

-KeepTemporaryFilesOptions

コンテンツの展開が完了した後も一時ファイルを保持するように指定します。

この型は、Never、Always、OnFailure のいずれかの値であることが必要です。

Type:TemporaryFilesOption
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019

-Name

コンテンツ展開パスの名前を指定します。

この型は、コンテンツ展開パスの有効な名前 (DeploymentPath1 など) であることが必要です。

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False
Applies to:SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019

-PathAccount

展開先ファームの全体管理のページにおける管理者であるユーザーの ID を指定します。

この型は、有効な SharePoint ユーザーであることが必要です。

Type:PSCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019

-PathEnabled

コンテンツ展開パスを有効にします。

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019

-WhatIf

コマンドを実行する代わりに、コマンドの実行結果を説明するメッセージを表示します。 詳細については、次のコマンドを入力します。get-help about_commonparameters

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019