Remove-SPOOrgAssetsLibrary

移除已指定為整個租使用者組織資產中央位置的程式庫。

Syntax

Remove-SPOOrgAssetsLibrary
      [-LibraryUrl <String>]
      [-ListId <Guid>]
      [<CommonParameters>]

Description

Remove-SPOOrgAssetsLibrary Cmdlet 會移除已指定為整個租使用者組織資產中央位置的程式庫。 執行此 Cmdlet 之後,將無法再從檔案選擇器中的 [您的組織] 索引標籤存取此程式庫 (可能需要最多 24 小時的時間,變更才會套用) 。 執行 Cmdlet 時,必須指出程式庫 URL 或程式庫識別碼 (並非兩) 。

移除程式庫之後,仍會啟用此程式庫的 CDN。 若要停用此程式庫的 CDN,請使用Remove-SPOTenantCdnOrigin與伺服器相對 URL (範例:/sites/branding/assets) 。

範例

範例 1

此範例會 https://contoso.sharepoint.com/sites/branding/Assets 使用程式庫識別碼,將 移除為指定的程式庫。 此程式庫內的資產將無法再從檔案選擇器中的 [您的組織] 索引標籤存取。

Remove-SPOOrgAssetsLibrary -ListId 58454454-6546-6466-9769-646464623988

參數

-LibraryUrl

指出要移除作為組織資產中央位置之程式庫的伺服器相對 URL。

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Online

-ListId

指出要移除作為組織資產中央位置之程式庫的程式庫識別碼。

Type:Guid
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Online