Read-SCStorageProvider

Retrieves updated information from the storage provider including array, pool, and logical unit information exposed by the provider.

Syntax

Read-SCStorageProvider [-StorageProvider] <StorageProvider> [-Force] [-JobVariable <String>] [-PROTipID <Guid>]
 [-RunAsynchronously] [<CommonParameters>]

Description

The Read-SCStorageProvider cmdlet retrieves updated information from the storage provider including array, pool, and logical unit information exposed by the provider.

Examples

Example 1: Refresh information about a storage provider

PS C:\> $Provider = Get-SCStorageProvider -Name "StorProv01.Contoso.com"
PS C:\> Read-SCStorageProvider -StorageProvider $Provider

The first command gets the storage provider named StorProv01 and stores it in the $Provider variable.

The second command retrieves updated information about the storage provider stored in the $Provider variable.

Parameters

-Force

Forces the command to run without asking for user confirmation.

Type:SwitchParameter
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-JobVariable

Specifies that job progress is tracked and stored in the variable named by this parameter.

Type:String
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-PROTipID

Specifies the ID of the Performance and Resource Optimization tip (PRO tip) that triggered this action. This parameter lets you audit PRO tips.

Type:Guid
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-RunAsynchronously

Indicates that the job runs asynchronously so that control returns to the command shell immediately.

Type:SwitchParameter
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-StorageProvider

Specifies a storage provider object.

Type:StorageProvider
Required:True
Position:0
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False

Outputs

StorageProvider

This cmdlet returns a **StorageProvider** object.