< Back

Unregister-StorageSubsystem

Wed Jan 30, 2019 6:04 pm

NAME Unregister-StorageSubsystem



SYNOPSIS

Disconnects from storage subsystems on a remote computer.





SYNTAX

Unregister-StorageSubsystem [-ProviderName] <String[]> [-CimSession <CimSession[]>] [-Force] [-PassThru] [-StorageSubSystemUniqueId <String>]

[-ThrottleLimit <Int32>] [<CommonParameters>]



Unregister-StorageSubsystem [-CimSession <CimSession[]>] [-Force] [-PassThru] [-StorageSubSystemUniqueId <String>] [-ThrottleLimit <Int32>]

[<CommonParameters>]



Unregister-StorageSubsystem [-CimSession <CimSession[]>] [-Force] [-PassThru] [-StorageSubSystemUniqueId <String>] [-ThrottleLimit <Int32>]

-ProviderUniqueId <String[]> [<CommonParameters>]





DESCRIPTION

The Unregister-StorageSubsystem cmdlet disconnects storage management in Windows Server???? 2012 R2 from storage subsystems on a remote computer or remote

cluster. When you disconnect from a storage subsystem, you cannot use the management node to remotely manage the storage subsystem.





PARAMETERS

-CimSession [<CimSession[]>]

Runs the cmdlet in a remote session or on a remote computer. Enter a computer name or a session object, such as the output of a New-CimSession or

Get-CimSession cmdlet. The default is the current session on the local computer.



Required? false

Position? named

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-Force [<SwitchParameter>]

Forces the command to run without asking for user confirmation.



Required? false

Position? named

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-PassThru [<SwitchParameter>]

Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output.



Required? false

Position? named

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-ProviderName <String[]>

Specifies an array of names of providers. The cmdlet disconnects from the storage subsystems that are managed by the storage provider that you

specify.



Required? true

Position? 1

Default value none

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-ProviderUniqueId <String[]>

Specifies an array of unique IDs of providers. The cmdlet disconnects from the storage subsystems that are managed by the storage provider that you

specify. Windows Server???? 2012 retains the provider ID through computer restarts.



Required? true

Position? named

Default value none

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-StorageSubSystemUniqueId [<String>]

Specifies the unique ID of the storage subsystem in the system. The cmdlet disconnects from the storage subsystem that you specify. Windows Server????

2012 retains the storage subsystem ID through computer restarts.



Required? false

Position? named

Default value none

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-ThrottleLimit [<Int32>]

Specifies the maximum number of concurrent operations that can be established to run the cmdlet. If this parameter is omitted or a value of 0 is

entered, then Windows PowerShell???? calculates an optimum throttle limit for the cmdlet based on the number of CIM cmdlets that are running on the

computer. The throttle limit applies only to the current cmdlet, not to the session or to the computer.



Required? false

Position? named

Default value none

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

Microsoft.Management.Infrastructure.CimInstance#ROOT/Microsoft/Windows/Storage/MSFT_StorageProvider

http://msdn.microsoft.com/library/windo ... 30562.aspx





You can use the pipeline operator to pass an array of MSFT_StorageProvider objects to the InputObject parameter.



Microsoft.Management.Infrastructure.CimInstance#ROOT/Microsoft/Windows/Storage/MSFT_StorageSubsystem

http://msdn.microsoft.com/library/windo ... 30569.aspx





You can use the pipeline operator to pass an MSFT_StorageSubsystem object to this cmdlet, which maps the UniqueID property by name to the

StorageSubsystemUniqueID parameter.





OUTPUTS

Microsoft.Management.Infrastructure.CimInstance#ROOT/Microsoft/Windows/Storage/MSFT_Volume

http://msdn.microsoft.com/library/windo ... 30604.aspx





If you specify the PassThru parameter, this cmdlet returns an object that represents the storage providers that you disconnected.





Example 1: Disconnect from storage subsystems on a remote computer



PS C:\\> Unregister-StorageSubsystem -ProviderName "Provider16"



This command disconnects Windows Server???? 2012 from the storage subsystems that the storage provider named Provider16 manages on the remote computer.







RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?LinkId=816500

Register-StorageSubsystem