Get-​Azs​Storage​Container

Gets a list of containers in a share that the system considers as best candidates for migration.

Syntax

Get-AzsStorageContainer
   [-Count <UInt32>]
   [-Intent <ContainerGetIntent>]
   -ShareName <String>
   [-SkipCertificateValidation]
   [-StartIndex <UInt32>]
   [<CommonParameters>]

Description

The Get-AzsStorageContainer cmdlet Gets a list of containers in a share that the system considers as best candidates for migration.

Examples

Example 1

$shares = Get-AzsStorageShare

Get-AzsStorageContainer -ShareName $shares.ShareName

Required Parameters

-ShareName

Specifies the name of the share used in the Azure Consistent Storage system.

Type:String
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False

Optional Parameters

-Count

Specifies the number of containers to return.

Type:UInt32
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Intent

Specifies the intent for returning the storage containers. By default, this value is set to Migration.

Type:ContainerGetIntent
Parameter Sets:Migration
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-SkipCertificateValidation

Indicates that the cmdlet does not validate the certificate.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-StartIndex
Type:UInt32
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False