Set-VmcSddc

This cmdlet modifies a specified VMware Cloud on AWS software-defined data center (SDDC). This cmdlet can enable or disable site recovery for a specified SDDC.

Syntax

-Name  <String>
-Sddc  <VmcSddc[]>
[-Server  <CisServer[]>]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
required
Name
String named Specifies a new name for the SDDC.
required
Sddc
VmcSddc[] named
  • wildcards
  • pipeline
  • Specifies the SDDC you want to modify.
    optional
    Server
    CisServer[] named
  • wildcards
  • Specifies the VMware Cloud on AWS servers on which you want to run the cmdlet. If no value is provided or $null value is passed to this parameter, the command runs on the default servers. For more information about default servers, see the description of the Connect-Vmc cmdlet.

    -DisableSiteRecovery
    -Sddc  <VmcSddc[]>
    [-Force]
    [-RunAsync]
    [-Server  <CisServer[]>]
    [CommonParameters]

    Parameters

    Required Parameter Name Type Position Features Description
    required
    DisableSiteRecovery
    SwitchParameter named Disables site recovery for the specified SDDC.
    required
    Sddc
    VmcSddc[] named
  • wildcards
  • pipeline
  • Specifies the SDDC you want to modify.
    optional
    Force
    SwitchParameter named Disables site recovery forcefully.
    optional
    RunAsync
    SwitchParameter named Indicates that the command returns immediately without waiting for the task to complete. In this mode, the output of the cmdlet is a Task object. For more information about the RunAsync parameter, run "help About_RunAsync" in the VMware PowerCLI console.
    optional
    Server
    CisServer[] named
  • wildcards
  • Specifies the VMware Cloud on AWS servers on which you want to run the cmdlet. If no value is provided or $null value is passed to this parameter, the command runs on the default servers. For more information about default servers, see the description of the Connect-Vmc cmdlet.

    -EnableSiteRecovery
    -Sddc  <VmcSddc[]>
    [-RunAsync]
    [-Server  <CisServer[]>]
    [-SrmExtensionSuffix  <String>]
    [CommonParameters]

    Parameters

    Required Parameter Name Type Position Features Description
    required
    EnableSiteRecovery
    SwitchParameter named Enables site recovery for the specified SDDC.
    required
    Sddc
    VmcSddc[] named
  • wildcards
  • pipeline
  • Specifies the SDDC you want to modify.
    optional
    RunAsync
    SwitchParameter named Indicates that the command returns immediately without waiting for the task to complete. In this mode, the output of the cmdlet is a Task object. For more information about the RunAsync parameter, run "help About_RunAsync" in the VMware PowerCLI console.
    optional
    Server
    CisServer[] named
  • wildcards
  • Specifies the VMware Cloud on AWS servers on which you want to run the cmdlet. If no value is provided or $null value is passed to this parameter, the command runs on the default servers. For more information about default servers, see the description of the Connect-Vmc cmdlet.
    optional
    SrmExtensionSuffix
    String named Specifies a custom extension key suffix for the site recovery instance. If not specified, the default extension ID (com.vmware.vcDr) is used. The custom suffix must be composed of not more than 13 characters. You can use letters, numbers, periods (.), hyphens (-), and underscores (_). The first and last symbol of the custom suffix must be a letter or a number. The suffix is appended to com.vmware.vcDr- to form the full extension ID.

    Output

    Examples


    Example 1

    Set-VmcSddc -Sddc $sddc -Name 'VmcSddc'

    Modifies the name of the selected SDDC.

    Example 2

    Set-VmcSddc -Sddc $sddc -EnableSiteRecovery -SrmExtensionSuffix 'suffix'

    Enables site recovery for the selected SDDC with an SRM extension suffix specified.

    Example 3

    Set-VmcSddc -Sddc $sddc -DisableSiteRecovery

    Disables site recovery for the selected SDDC.

    Related Commands

    Feedback

    Was this page helpful?