< Back

Update-AzureRmRecoveryServicesAsrvCenter

Tue Jan 29, 2019 10:02 pm

NAME Update-AzureRmRecoveryServicesAsrvCenter



SYNOPSIS

Update discovery details for a registered vCenter.





SYNTAX

Update-AzureRmRecoveryServicesAsrvCenter [-Account <ASRRunAsAccount>] [-Confirm] [-DefaultProfile <IAzureContextContainer>] -InputObject

<ASRvCenter> [-Port <Int32>] [-WhatIf] [<CommonParameters>]



Update-AzureRmRecoveryServicesAsrvCenter [-Confirm] [-DefaultProfile <IAzureContextContainer>] -ResourceId <String> [-WhatIf] [<CommonParameters>]





DESCRIPTION

The Update-AzureRmRecoveryServicesAsrvCenter cmdlet is updates discovery details for a registered vCenter.





PARAMETERS

-Account <ASRRunAsAccount>

vCenter login credentials account.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-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 <ASRvCenter>

The vCenter server object to update discovery details for.



Required? true

Position? named

Default value None

Accept pipeline input? True (ByValue)

Accept wildcard characters? false



-Port <Int32>

The TCP port on the vCenter server to use for discovery.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-ResourceId <String>

Specifies the resourceId of vCenter.



Required? true

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

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.ASRvCenter







OUTPUTS

System.Collections.Generic.IEnumerable`1[[Microsoft.Azure.Commands.RecoveryServices.SiteRecovery.ASRJob,

Microsoft.Azure.Commands.RecoveryServices.SiteRecovery, Version=0.1.1.0, Culture=neutral, PublicKeyToken=null]]







NOTES









Example 1



PS C:\\> Update-AzureRmRecoveryServicesAsrvCenter -Account $fabric.fabricSpecificDetails.RunAsAccounts[1] -InputObject $vCenter

Returns ASRJOB for update vCenter.



Update discovery details for a registered vCenter.







RELATED LINKS

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