Read-SCStorageProvider

Read-SCStorageProvider

Retrieves updated information from the storage provider.

構文

Parameter Set: Default
Read-SCStorageProvider [-StorageProvider] <StorageProvider> [-Force] [-JobVariable <String> ] [-PROTipID <Guid]> ] [-RunAsynchronously] [ <CommonParameters>]

詳細説明

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

パラメーター

-Force

Forces the operation to complete.

For example:

Remove-SCVMHost -Force

Forces the removal of a host object from the VMM database.

Stop-SCVirtualMachine -Force

Stops a virtual machine.

エイリアス

none

必須?

false

位置は?

named

既定値

none

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-JobVariable<String>

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

エイリアス

none

必須?

false

位置は?

named

既定値

none

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-PROTipID<Guid]>

Specifies the ID of the PRO tip that triggered this action. This allows for auditing of PRO tips.

エイリアス

none

必須?

false

位置は?

named

既定値

none

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-RunAsynchronously

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

エイリアス

none

必須?

false

位置は?

named

既定値

none

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-StorageProvider<StorageProvider>

Specifies a storage provider object.

エイリアス

none

必須?

true

位置は?

1

既定値

none

パイプライン入力を許可する

True (ByValue)

ワイルドカード文字を許可する

false

<CommonParameters>

このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。

入力

入力型は、コマンドレットにパイプできるオブジェクトの型です。

出力

出力型は、コマンドレットによって生成されるオブジェクトの型です。

  • StorageProvider

Example 1: Refresh information about a storage provider

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

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

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

関連トピック

Add-SCStorageProvider

Get-SCStorageProvider

Remove-SCStorageProvider

Set-SCStorageProvider