CmdID / PowerShell / Cmdlets / New
New-NetworkControllerVirtualNetworkPeering
Creates a peering between two virtual networks to enable connectivity between them. Windows Server PowerShell reference
From the Windows Server PowerShell reference 12 parameters Its page in the reference
Parameters
-CertificateThumbprintSpecifies the digital public key X.509 certificate of a user account that has permission to perform this action.-ConnectionUriSpecifies the Uniform Resource Identifier (URI) of a Network Controller.-CredentialSpecifies a user credential that has permission to perform this action.-EtagSpecifies the entity tag (ETag) parameter of the resource.-ForceForces the command to run without asking for user confirmation.-PassInnerExceptionThis thumbprint must also be provided in the ClientCertificateThumbprint parameter in the Install-NetworkController or Set-NetworkController cmdlet so that Network Controller can authorize this user.-PropertiesSpecifies the properties of the virtual network peering.-ResourceIdSpecifies the resource ID of the virtual network peering to create.-ResourceMetadataSpecifies metadata information for the client, such as the tenant ID, group ID, and resource name.-VirtualNetworkIdSpecified the ID of a virtual network.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-WhatIf, -wiShows what would happen if the cmdlet runs.