Unregister-SPRemoteShareBlobStore

此 cmdlet 取消注册远程共享 BLOB 存储。

语法

Unregister-SPRemoteShareBlobStore
          -RemoteShareBlobStore <SPRemoteShareBlobStorePipeBind>
          [-Force]
          [-AssignmentCollection <SPAssignmentCollection>]
          [-WhatIf]
          [-Confirm]
          [<CommonParameters>]

说明

“Unregister-SPRemoteShareBlobStore”cmdlet 从内容数据库取消注册远程共享 BLOB 存储。

示例

--------------示例 1--------------

Register-SPRemoteShareBlobStore -RemoteShareBlobStore "RemoteBlobStore" -Force

本示例从服务器场中强制注销“RemoteBlobStore”

参数

-AssignmentCollection

管理对象以便正确进行处理。 使用 SPWeb 或 SPSite 等对象可能会耗用大量内存,而且在 Windows PowerShell 脚本中使用这些对象需要正确管理内存。 通过使用 SPAssignment 对象,可以将对象分配给变量,然后在不需要这些对象时对它们进行处理,以释放内存。 在使用 SPWeb、SPSite 或 SPSiteAdministration 对象时,如果不使用分配集合或 Global 参数,则会自动处理这些对象。 注意:使用 Global 参数时,所有对象都包含在全局存储中。 If objects are not immediately used, or disposed of by using the Stop-SPAssignment command, an out-of-memory scenario can occur.

Type:SPAssignmentCollection
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False
Applies to:SharePoint Server Subscription Edition

-Confirm

提示你在运行 cmdlet 之前进行确认。

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server Subscription Edition

-Force

即使远程共享 BLOB 存储中仍在使用 BLOB,此开关也会强制取消注册。 如果 BLOB 存储中仍在使用 BLOB 正在注销,则此 cmdlet 将引发异常,以防止无意中取消注册正在使用的 BLOB 存储。

如果需要取消注册此类 BLOB 存储,可以使用此开关运行 cmdlet,以忽略在 BLOB 存储中使用 BLOB 的检测。

建议不要使用此“强制”开关,因为它会将 SMB 存储中的 BLOB 保留在后面,并使 SharePoint 内容不可访问。 建议先迁移 BLOB,然后注销远程共享 BLOB 存储。

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server Subscription Edition

-RemoteShareBlobStore

指定要注销的远程共享 BLOB 存储的标识。

它可以是远程共享 BLOB 存储对象或远程共享 BLOB 存储名称。

Type:SPRemoteShareBlobStorePipeBind
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False
Applies to:SharePoint Server Subscription Edition

-WhatIf

显示在 cmdlet 运行时发生的情况。 此 cmdlet 未运行。

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server Subscription Edition