CmdID / PowerShell / Cmdlets / New
New-NetworkControllerVirtualSubnet
This cmdlet creates a new virtual subnet in a virtual network, or updates a virtual subnet in a virtual network 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 the Network Controller, used by all Representational State Transfer (REST) clients to connect to 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.-PropertiesA virtual subnet can take the following properties as inputs a.-ResourceIdSpecifies the ID of the virtual subnet-ResourceMetadataThis parameter contains metadata information for the client, such as the tenant ID, group ID, and resource name.-VirtualNetworkIdSpecifies the virtual network where the virtual subnet belongs-Confirm, -cfPrompts you for confirmation before running the cmdlet.-WhatIf, -wiShows what would happen if the cmdlet runs.