You can create a Tier-0 gateway with the NSX Policy SDK for PowerShell by using the Initialize-Tier0 and Invoke-PatchTier0 cmdlets.

Prerequisites

Verify that you are connected to an NSX server system.

Procedure

  1. Prepare the input for the operation.
    $t0 = Initialize-Tier0 -ArpLimit 5000 -DisplayName $T0GatewayName
    
  2. Invoke the operation.
    Invoke-PatchTier0 -Tier0Id $T0GatewayName -Tier0 $t0