< Back

Get-AzureStorSimpleDeviceVolumeContainer

Wed Jan 30, 2019 5:45 pm

NAME Get-AzureStorSimpleDeviceVolumeContainer



SYNOPSIS

Gets volume containers on a device.





SYNTAX

Get-AzureStorSimpleDeviceVolumeContainer [-DeviceName] <String> [[-VolumeContainerName] <String>] [-Profile

<Microsoft.Azure.Common.Authentication.Models.AzureProfile>] [<CommonParameters>]





DESCRIPTION

The Get-AzureStorSimpleDeviceVolumeContainer cmdlet gets a list of volume containers on a device, or volume container that has the specified name. The

returned object contains the following properties:



-- BandwidthRate

-- EncryptionKey

-- InstanceId

-- IsDefault

-- IsEncryptionEnabled

-- Name

-- OperationInProgress

-- Owned

-- PrimaryStorageAccountCredential

-- SecretsEncryptionThumbprint

-- VolumeCount





PARAMETERS

-DeviceName <String>

Specifies the name of a StorSimple device. This cmdlet gets volume containers from the device that this parameter specifies.



Required? true

Position? 1

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-Profile [<Microsoft.Azure.Common.Authentication.Models.AzureProfile>]

Specifies an Azure profile.



Required? false

Position? named

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-VolumeContainerName [<String>]

Specifies the name of the volume container to get.



Required? false

Position? 2

Default value none

Accept pipeline input? false

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

None









OUTPUTS

DataContainer, IList<DataContainer>



This cmdlet returns a DataContainer object, if you specify the VolumeContainerName parameter. If you do not specify that parameter, this cmdlet

returns an IList<DataContainer> object.





NOTES





Keywords: azure, azuresm, servicemanagement, management, service, store, storsimple



Example 1: Get all the containers on a device



PS C:\\>Get-AzureStorSimpleDeviceVolumeContainer -DeviceName "8600-Bravo 001"

InstanceId Name IsEncryptionEnabled Owned BandwidthRate

PrimaryStorageAccountCredential VolumeCount

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

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

127135b6-92de-4f53-850d-70e1f9a38cbe Test_Container False True 0

Test_Account 6



This command gets a list of the volume containers on the device named 8600-Bravo 001.





Example 2: Get a container by using its name



PS C:\\>Get-AzureStorSimpleDeviceVolumeContainer -DeviceName "Contoso63-AppVm" -VolumeContainerName "Container08"

VERBOSE: ClientRequestId: 8027c66a-869b-4ea3-97a2-e17d98ec751c_PS

VERBOSE: ClientRequestId: 344f9be5-0887-4d37-98ef-e45c557774f1_PS

VERBOSE: ClientRequestId: 14919be5-d6f5-4f81-b7f1-d7fafff2238c_PS





BandwidthRate : 256

EncryptionKey :

InstanceId : 04ea9aad-7a56-4a50-b195-86061b0a810a

IsDefault : False

IsEncryptionEnabled : False

Name : Container03

OperationInProgress : None

Owned : True

PrimaryStorageAccountCredential : Microsoft.WindowsAzure.Management.StorSimple.Models.StorageAccountCredentialResponse

SecretsEncryptionThumbprint :

VolumeCount : 5



VERBOSE: Volume container with name: Container03 is found.



This command gets the volume container named Container08 on the device named Contoso63-AppVm.







RELATED LINKS

New-AzureStorSimpleDeviceVolumeContainer

Remove-AzureStorSimpleDeviceVolumeContainer