Skip to content

Latest commit

 

History

History
111 lines (83 loc) · 2.8 KB

Get-AzStorageSyncService.md

File metadata and controls

111 lines (83 loc) · 2.8 KB
external help file Module Name online version schema
Microsoft.Azure.PowerShell.Cmdlets.StorageSync.dll-Help.xml
Az.StorageSync
2.0.0

Get-AzStorageSyncService

SYNOPSIS

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

SYNTAX

ParentStringParameterSet (Default)

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

StringParameterSet

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: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
Parameter Sets: (All)
Aliases: AzContext, AzureRmContext, AzureCredential

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Name

Name of the storage sync service.

Type: System.String
Parameter Sets: StringParameterSet
Aliases: StorageSyncServiceName

Required: False
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-ResourceGroupName

Resource Group Name.

Type: System.String
Parameter Sets: ParentStringParameterSet
Aliases:

Required: False
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
Type: System.String
Parameter Sets: StringParameterSet
Aliases:

Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).

INPUTS

System.String

OUTPUTS

Microsoft.Azure.Commands.StorageSync.Models.PSStorageSyncService

NOTES

RELATED LINKS