Get-SCStorageArray
Gets a storage array object.
Get-SCStorageArray
[-VMMServer <ServerConnection>]
[[-Name] <String>]
[-All]
[<CommonParameters>]
Get-SCStorageArray
-VMHost <Host[]>
[-ConnectedToAllHost]
[-FibreChannelOnly]
[-iSCSIOnly]
[-SASOnly]
[-VMMServer <ServerConnection>]
[[-Name] <String>]
[<CommonParameters>]
Get-SCStorageArray
[-FibreChannelOnly]
[-iSCSIOnly]
[-SASOnly]
[-VMMServer <ServerConnection>]
[[-Name] <String>]
-StorageFileServerNode <StorageFileServerNode[]>
[<CommonParameters>]
Get-SCStorageArray
-HyperConvergedHostCluster <HostCluster>
[-VMMServer <ServerConnection>]
[[-Name] <String>]
[<CommonParameters>]
Get-SCStorageArray
[-VMMServer <ServerConnection>]
[[-Name] <String>]
-VM <VM[]>
[<CommonParameters>]
Get-SCStorageArray
[-VMMServer <ServerConnection>]
[[-Name] <String>]
[-ID <Guid>]
[<CommonParameters>]
The Get-SCStorageArray cmdlet gets a storage array object from the Virtual Machine Manager (VMM) database.
You must install the storage provider on an available computer prior to discovering the storage resources.
For more information about configuring storage, see Configuring Storage in VMMhttp://go.microsoft.com/fwlink/?LinkID=212013 in the Microsoft TechNet library at http://go.microsoft.com/fwlink/?LinkID=212013.
PS C:\> Get-SCStorageArray -Name "SANArray"
This command gets the storage array named SANArray.
Indicates that this cmdlet gets all subordinate objects independent of the parent object.
For example, the command Get-SCVirtualDiskDrive -All
gets all virtual disk drive objects regardless of the virtual machine object or template object that each virtual disk drive object is associated with.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Indicates that a storage array is connected to all hosts.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Indicates that only Fibre Channel arrays are returned.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Type: | HostCluster |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies the unique ID identifier of the storage array that this cmdlet gets.
Type: | Guid |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Indicates that only iSCSI arrays are returned.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies the name of the storage array that this cmdlet gets.
Type: | String |
Position: | 0 |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Indicates that only Shared Access Storage (SAS) storage arrays are returned.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies an array of storage file server node objects.
Type: | StorageFileServerNode[] |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies an array of virtual machine objects.
Type: | VM[] |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies a virtual machine host object. VMM supports Hyper-V hosts, VMware ESX hosts, and Citrix XenServer hosts. For more information about each type of host, see the Add-SCVMHost cmdlet.
Type: | Host[] |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies a VMM server object.
Type: | ServerConnection |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
StorageArray
This cmdlet returns a StorageArray object.