Modifier

Partager via


Get-AzStorageSyncService

This command lists all storage sync services within a given scope of subscription/resource group.

Syntax

Get-AzStorageSyncService
   [[-ResourceGroupName] <String>]
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]
Get-AzStorageSyncService
   [-ResourceGroupName] <String>
   [[-Name] <String>]
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

This command lists all storage sync services within a given scope of subscription/resource group. It can be used to also list the attributes of each storage sync service.

Examples

Example 1

Get-AzStorageSyncService -ResourceGroupName "myResourceGroup"

This command lists all storage sync service resources within a given resource group. It can be used to also list the attributes of each storage sync service. Specify -StorageSyncServiceName to return a specific one.

Parameters

-DefaultProfile

The credentials, account, tenant, and subscription used for communication with Azure.

Type:IAzureContextContainer
Aliases:AzContext, AzureRmContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Name

Name of the storage sync service.

Type:String
Aliases:StorageSyncServiceName
Position:1
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-ResourceGroupName

Resource Group Name.

Type:String
Position:0
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

Inputs

String

Outputs

PSStorageSyncService