< Back
Get-AzureRmSnapshot
Post
NAME Get-AzureRmSnapshot
SYNOPSIS
Gets the properties of a snapshot
SYNTAX
Get-AzureRmSnapshot [[-ResourceGroupName] <String>] [[-SnapshotName] <String>] [-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
DESCRIPTION
The Get-AzureRmSnapshot cmdlet gets the properties of a snapshot.
PARAMETERS
-DefaultProfile <IAzureContextContainer>
The credentials, account, tenant, and subscription used for communication with azure.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-ResourceGroupName <String>
Specifies the name of a resource group.
Required? false
Position? 1
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-SnapshotName <String>
Specifies the name of a snapshot.
Required? false
Position? 2
Default value None
Accept pipeline input? True (ByPropertyName)
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 (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
System.String
OUTPUTS
Microsoft.Azure.Commands.Compute.Automation.Models.PSSnapshot
NOTES
Example 1
PS C:\\> Get-AzureRmSnapshot
This command gets the properties of all snapshots of the subscription.
Example 2
PS C:\\> Get-AzureRmSnapshot -ResourceGroupName "ResourceGroupName1"
This command gets the properties of all snapshots in the resource group named "ResourceGroupName1"
Example 3
PS C:\\> Get-AzureRmSnapshot -ResourceGroupName "ResourceGroupName1" -SnapshotName "SnapshotName1"
This command gets the properties of the snapshot named "SnapshotName1" in the resource group named "ResourceGroupName1"
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... rmsnapshot
SYNOPSIS
Gets the properties of a snapshot
SYNTAX
Get-AzureRmSnapshot [[-ResourceGroupName] <String>] [[-SnapshotName] <String>] [-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
DESCRIPTION
The Get-AzureRmSnapshot cmdlet gets the properties of a snapshot.
PARAMETERS
-DefaultProfile <IAzureContextContainer>
The credentials, account, tenant, and subscription used for communication with azure.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-ResourceGroupName <String>
Specifies the name of a resource group.
Required? false
Position? 1
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-SnapshotName <String>
Specifies the name of a snapshot.
Required? false
Position? 2
Default value None
Accept pipeline input? True (ByPropertyName)
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 (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
System.String
OUTPUTS
Microsoft.Azure.Commands.Compute.Automation.Models.PSSnapshot
NOTES
Example 1
PS C:\\> Get-AzureRmSnapshot
This command gets the properties of all snapshots of the subscription.
Example 2
PS C:\\> Get-AzureRmSnapshot -ResourceGroupName "ResourceGroupName1"
This command gets the properties of all snapshots in the resource group named "ResourceGroupName1"
Example 3
PS C:\\> Get-AzureRmSnapshot -ResourceGroupName "ResourceGroupName1" -SnapshotName "SnapshotName1"
This command gets the properties of the snapshot named "SnapshotName1" in the resource group named "ResourceGroupName1"
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... rmsnapshot