Share via


Remove-SCVMNetworkGateway

Remove-SCVMNetworkGateway

Removes a virtual machine network gateway from VMM.

Sintaxe

Parameter Set: Default
Remove-SCVMNetworkGateway [-VMNetworkGateway] <VMNetworkGateway> [-Force] [-JobVariable <String> ] [-OnBehalfOfUser <System.String> ] [-OnBehalfOfUserRole <Microsoft.SystemCenter.VirtualMachineManager.UserRole> ] [-PROTipID <Guid]> ] [-RunAsynchronously] [-VMMServer <ServerConnection> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Descrição detalhada

The Remove-SCVMNetworkGateway cmdlet deletes a virtual machine network gateway from VMM (Virtual Machine Manager).

Parâmetros

-Force

Forces the operation to complete.

For example:

- Remove-SCSCVMHost -Force

Forces the removal of a host object from the VMM database.

- Stop-SCVirtualMachine -Force

Stops a virtual machine.

Aliases

none

Necessário?

false

Posição?

named

Valor padrão

none

Aceitar entrada do pipeline?

false

Aceitar caracteres curinga?

false

-JobVariable<String>

Specifies that job progress is tracked and stored in the variable named by this parameter.

Aliases

none

Necessário?

false

Posição?

named

Valor padrão

none

Aceitar entrada do pipeline?

false

Aceitar caracteres curinga?

false

-OnBehalfOfUser<System.String>

For example:

- Remove-SCSCVMHost -Force

Forces the removal of a host object from the VMM database.

- Stop-SCVirtualMachine -Force

Stops a virtual machine.

Aliases

none

Necessário?

false

Posição?

named

Valor padrão

none

Aceitar entrada do pipeline?

false

Aceitar caracteres curinga?

false

-OnBehalfOfUserRole<Microsoft.SystemCenter.VirtualMachineManager.UserRole>

For example:

- Remove-SCSCVMHost -Force

Forces the removal of a host object from the VMM database.

- Stop-SCVirtualMachine -Force

Stops a virtual machine.

Aliases

none

Necessário?

false

Posição?

named

Valor padrão

none

Aceitar entrada do pipeline?

false

Aceitar caracteres curinga?

false

-PROTipID<Guid]>

Specifies the ID of the PRO tip that triggered this action. This allows for auditing of PRO tips.

Aliases

none

Necessário?

false

Posição?

named

Valor padrão

none

Aceitar entrada do pipeline?

false

Aceitar caracteres curinga?

false

-RunAsynchronously

Indicates that the job runs asynchronously so that control returns to the command shell immediately.

Aliases

none

Necessário?

false

Posição?

named

Valor padrão

none

Aceitar entrada do pipeline?

false

Aceitar caracteres curinga?

false

-VMMServer<ServerConnection>

Specifies a VMM server object.

Aliases

none

Necessário?

false

Posição?

named

Valor padrão

none

Aceitar entrada do pipeline?

True (ByValue)

Aceitar caracteres curinga?

false

-VMNetworkGateway<VMNetworkGateway>

Specifies a virtual machine network gateway object.

To obtain a virtual machine network gateway object, use the Get-SCVMNetworkGateway cmdlet.

Aliases

none

Necessário?

true

Posição?

1

Valor padrão

none

Aceitar entrada do pipeline?

True (ByValue)

Aceitar caracteres curinga?

false

-Confirm

Solicita que você confirme antes de executar o cmdlet.

Necessário?

false

Posição?

named

Valor padrão

false

Aceitar entrada do pipeline?

false

Aceitar caracteres curinga?

false

-WhatIf

Mostra o que aconteceria se o cmdlet fosse executado. O cmdlet não é executado.

Necessário?

false

Posição?

named

Valor padrão

false

Aceitar entrada do pipeline?

false

Aceitar caracteres curinga?

false

<CommonParameters>

Esse cmdlet dá suporte a parâmetros comuns: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer e -OutVariable. Para obter mais informações, consulte about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Entradas

O tipo de entrada é o tipo dos objetos que você pode canalizar para o cmdlet.

Saídas

O tipo de saída é o tipo de objeto emitido pelo cmdlet.

Tópicos relacionados

Add-SCVMNetworkGateway

Get-SCVMNetworkGateway

Read-SCVMNetworkGateway

Set-SCVMNetworkGateway