< Back

Get-StorageProvider

Wed Jan 30, 2019 6:02 pm

NAME Get-StorageProvider



SYNOPSIS

Returns a list of the storage providers available on the local computer.





SYNTAX

Get-StorageProvider [[-Name] <String[]>] [-CimSession <CimSession[]>] [-Manufacturer <String[]>] [-ThrottleLimit <Int32>] [<CommonParameters>]



Get-StorageProvider [-CimSession <CimSession[]>] [-Manufacturer <String[]>] [-ThrottleLimit <Int32>] [-URI <Uri[]>] [<CommonParameters>]



Get-StorageProvider [-CimSession <CimSession[]>] [-StorageSubSystem <CimInstance>] [-ThrottleLimit <Int32>] [<CommonParameters>]



Get-StorageProvider [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-UniqueId <String[]>] [<CommonParameters>]





DESCRIPTION

The Get-StorageProvider cmdlet returns a list of the storage providers available on the local computer. This cmdlet returns a list of the available

storage providers available to the computer, such as a SMP hardware provider, or a SMI-S provider connection.





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



-Manufacturer [<String[]>]

Specifies the name of the manufacturer of this piece of hardware or software.



Required? false

Position? named

Default value none

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Name [<String[]>]

Specifies the name of an object or setting.



Required? false

Position? 1

Default value none

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-StorageSubSystem [<CimInstance>]

Accepts a StorageSubsystem object as input. The Storage Subsystem CIM object is exposed by the Get-StorageSubsystem cmdlet.



Required? false

Position? named

Default value none

Accept pipeline input? True (ByValue)

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



-URI [<Uri[]>]

Specifies the URI for the object.



Required? false

Position? named

Default value none

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-UniqueId [<String[]>]

Specifies an ID used to uniquely identify a Disk object in the system. The ID persists through restarts.



Required? false

Position? named

Default value none

Accept pipeline input? True (ByPropertyName)

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_StorageSubsystem

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





The Microsoft.Management.Infrastructure.CimInstance object is a wrapper class that displays Windows Management Instrumentation (WMI) objects. The

path after the pound sign (#) provides the namespace and class name for the underlying WMI object.





OUTPUTS

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

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





The Microsoft.Management.Infrastructure.CimInstance object is a wrapper class that displays Windows Management Instrumentation (WMI) objects. The

path after the pound sign (#) provides the namespace and class name for the underlying WMI object.





Example 1: Get all Storage providers



PS C:\\>Get-StorageProvider

Type Name Manufacturer

---- ---- ------------

SMP Storage Spaces Management Provider Microsoft Corporation



This command gets all available Storage providers on the system.







RELATED LINKS

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