< Back

Update-AzureRmRecoveryServicesAsrServicesProvider

Tue Jan 29, 2019 10:03 pm

NAME Update-AzureRmRecoveryServicesAsrServicesProvider



SYNOPSIS

Refreshes (Refresh server) the information received from the Azure Site Recovery Services Provider.





SYNTAX

Update-AzureRmRecoveryServicesAsrServicesProvider [-Confirm] [-DefaultProfile <IAzureContextContainer>] -InputObject <ASRRecoveryServicesProvider>

[-WhatIf] [<CommonParameters>]





DESCRIPTION

The Update-AzureRmRecoveryServicesAsrServicesProvider cmdlet updates the information received from the Azure Site Recovery Services Provider. You

can use this cmdlet to trigger a refresh of the information received from the Recovery Services Provider.





PARAMETERS

-Confirm [<SwitchParameter>]

Prompts you for confirmation before running the cmdlet.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-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



-InputObject <ASRRecoveryServicesProvider>

Specifies the ASR services provider object that identifies the server for which information is to updated(refreshed.)



Required? true

Position? named

Default value None

Accept pipeline input? True (ByValue)

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]

Shows what would happen if the cmdlet runs. The cmdlet is not run.



Required? false

Position? named

Default value False

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

Microsoft.Azure.Commands.RecoveryServices.SiteRecovery.ASRRecoveryServicesProvider







OUTPUTS

System.Object







NOTES









Example 1



PS C:\\> $currentJob = Update-AzureRmRecoveryServicesAsrServicesProvider -InputObject $ServicesProvider



Starts the operation of refreshing the information from the specified ASR services provider and returns the ASR job used to track the operation.







RELATED LINKS

Online Version:

https://docs.microsoft.com/en-us/powers ... esprovider

Get-AzureRmRecoveryServicesAsrServicesProvider

Remove-AzureRmRecoveryServicesAsrServicesProvider