CmdID / PowerShell / Cmdlets / Remove
Remove-NetworkControllerGateway
Removes the gateway virtual machine configuration from a tenant. Windows Server PowerShell reference
From the Windows Server PowerShell reference 9 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.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-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) 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 use…-ResourceIdSpecies the resource ID of the gateway virtual machine to remove.-WhatIf, -wiShows what would happen if the cmdlet runs.