Update-​Azure​Rm​Recovery​Services​Asr​Services​Provider

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

Syntax

Update-AzureRmRecoveryServicesAsrServicesProvider
      -InputObject <ASRRecoveryServicesProvider>
      [-Confirm]
      [-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.

Examples

Example 1

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

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

Required Parameters

-InputObject

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

Type:ASRRecoveryServicesProvider
Aliases:ServicesProvider
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False

Optional Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-WhatIf

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

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Inputs

Microsoft.Azure.Commands.RecoveryServices.SiteRecovery.ASRRecoveryServicesProvider

Outputs

System.Object