Cmdlets

Choose a cmdlet from the list on the left or search for a specific cmdlet. Choose a cmdlet from the list or search for a specific cmdlet.
About Help  Providers
 

Get-AzureStorSimpleDeviceVolumeContainer

Get-AzureStorSimpleDeviceVolumeContainer

microsoft.windowsazure.commands.storsimple.dll

Synopsis

Gets volume containers on a device.

Syntax

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

Detailed 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.

Aliases

none

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.

Aliases

none

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.

Aliases

Name

Required?

false

Position

2

Default value

none

Accept pipeline input?

false

Accept wildcard characters?

false

Input Type

None

Return Type

DataContainer, IList<DataContainer>

Notes

None

Examples

Example 1: Get all the containers on a device

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

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                                              

Example 2: Get a container by using its name

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

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.

New-AzureStorSimpleDeviceVolumeContainer
Remove-AzureStorSimpleDeviceVolumeContainer