< Back

Get-AzureRmSiteRecoveryServer

Thu Apr 04, 2019 5:40 am

NAME Get-AzureRmSiteRecoveryServer



SYNOPSIS

Gets information about Site Recovery servers registered to the current vault.





SYNTAX

Get-AzureRmSiteRecoveryServer [-DefaultProfile <IAzureContextContainer>] -FriendlyName <String> [<CommonParameters>]



Get-AzureRmSiteRecoveryServer [-DefaultProfile <IAzureContextContainer>] -Name <String> [<CommonParameters>]





DESCRIPTION

The Get-AzureRmSiteRecoveryServer cmdlet gets information about Azure Site Recovery servers registered to the current Site Recovery vault.





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



-FriendlyName <String>

Specifies the friendly name of the server.



Required? true

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Name <String>

Specifies the name of the server.



Required? true

Position? named

Default value None

Accept pipeline input? False

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

None

This cmdlet does not accept any input.





OUTPUTS

System.Collections.Generic.IEnumerable`1[Microsoft.Azure.Commands.SiteRecovery.ASRServer]







NOTES











RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... veryserver

Remove-AzureRmSiteRecoveryServer