Syntax
New-HCXSitePairing -Password <SecureString> [-Server <HcxServer[]>] -Url <String> -Username <String> [-Confirm] [-WhatIf] [<CommonParameters>]Related Commands
Detailed Description
This cmdlet creates an HCX site pairing request. To use or deploy the HCX migration, mobility and extension services, you must register the remote site in the local/source HCX system. A single HCX source site can be connected with one or more HCX Cloud remote sites.Parameters
Name | Type | Description | Required? | Pipeline Input | Default Value |
---|---|---|---|---|---|
Confirm | SwitchParameter | If the value is $true, indicates that the cmdlet asks for confirmation before running. If the value is $false, the cmdlet runs without asking for user confirmation. | false | False | |
Password | SecureString | Specifies the password you want to use for authenticating with the remote site. | true | False | |
Server | HcxServer[] | Specifies the HCX Server systems on which you want to run the cmdlet. If no value is given to this parameter, the command runs on the default servers. For more information about default servers, see the description of the Connect-HCXServer cmdlet. | false | False | |
Url | String | Specifies the URL of the remote site that you want to register. | true | False | |
Username | String | Specifies the user name for authenticating on the remote site. | true | False | |
WhatIf | SwitchParameter | Indicates that the cmdlet is run only to display the changes that would be made and actually no objects are modified. | false | False |
Return Type
VMware.VimAutomation.Hcx.Types.V1.HCXJobNotes
Examples
-------------------------- Example 1 --------------------------
PS C:\> New-HCXSitePairing -Url $myUrl -Username $myUsername -Password $myPassword
Registers a new site pairing with the specified cloud URL.