Get-SCStorageProvider

Gets a storage provider object.

Description

The Get-StorageProvider cmdlet gets one or more storage provider objects.

For more information about Get-SCStorageProvider, type: "Get-Help Get-SCStorageProvider -online".

Parameters

Name

Required? false
Accept Pipeline Input? false
Position? 0
Specifies the name of a VMM object.

All

Required? false
Accept Pipeline Input? false
Position? named
Retrieves a full list of all subordinate objects independent of the parent object. For example, the command Get-SCVirtualDiskDrive -All retrieves all virtual disk drive objects regardless of the virtual machine object or template object that each virtual disk drive object is associated with.

VMMServer

Required? false
Accept Pipeline Input? true (ByValue)
Position? named
Specifies a VMM server object.

Name

Required? false
Accept Pipeline Input? false
Position? 0
Specifies the name of a VMM object.

ID

Required? false
Accept Pipeline Input? false
Position? named
Specifies the numerical identifier (as a globally unique identifier, or GUID) for a specific object.

VMMServer

Required? false
Accept Pipeline Input? true (ByValue)
Position? named
Specifies a VMM server object.

Examples

1: Get a storage provider by its name.
PS C:\> $Provider = Get-SCStorageProvider -Name "StorProv01.Contoso.com"
This command gets the storage provider named StorProv01 and stores it in the $Provider variable.

See Also