CmdID / PowerShell / Cmdlets / Add
Add-VpnS2SInterface
Create a S2S interface with the specified parameters. Windows Server PowerShell reference
From the Windows Server PowerShell reference 58 parameters Its page in the reference
Parameters
Show its 58 parameters
-AdminStatusSpecifies the administrator status of the cmdlet.-AsJobRuns the cmdlet as a background job.-AuthenticationMethodSpecifies the AuthenticationMethod to be used by the S2S connection.-AuthenticationTransformConstants, -FirstTransformType, -AuthenticationTransformConstantSpecifies the authentication transform plumbed in IPsec policy.-AutoConnectEnabledSpecifies the activation of auto-reconnection.-Certificate, -CertSpecifies the certificate to be used in default store.-CimSession, -SessionRuns the cmdlet in a remote session or on a remote computer.-CipherTransformConstants, -OtherCipherAlgorithm, -FirstCipherAlgorithm, -CipherTransformConstantSpecifies the cipher plumbed in IPsec policy.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-CustomPolicySpecifies the custom IKE IPsec policy.-DHGroupSpecifies the Diffie-Hellman (DH) Group to use during IKE key exchanges.-Destination, -RemoteTunnelEndpoint, -RemoteTunnelHostname, -RemoteAddressSpecifies the destination end-point of the S2S connection.-EapMethodSpecifies EAP method if *IkeLocalAuthenticationMethod* is EAP.-EnableQoSIndicates whether to enable Quality of Service (QoS) on an interface.-EncryptionMethod, -EncryptionSpecifies the encryption method in the IKE policy.-EncryptionTypeSpecifies the type of encryption.-GreKeySpecifies individual traffic flows within a Generic Routing Encapsulation (GRE) tunnel.-GreTunnelIndicates whether this cmdlet uses the GRE tunnel capability for the Windows Server Gateway.-IPv4AddressIndicates whether the cmdlet sets custom IKE IPsec policies.-IPv4Subnet, -IPv4TriggerSubnetSpecifies the IPv4 subnet that is routed on this connection with metric.-IPv4TriggerFilterSpecifies a string array of IPv4 filters that trigger demand dial connections.-IPv4TriggerFilterActionIndicates whether a filter should trigger an S2S connection.-IPv6AddressIndicates whether the cmdlet sets custom IKE IPsec policies.-IPv6Subnet, -IPv6TriggerSubnetSpecifies the IPv6 subnet that is routed on this connection with metric.-IPv6TriggerFilterSpecifies an array of IPv6 filters that trigger demand dial connections.-IPv6TriggerFilterActionIndicates whether a filter should trigger an S2S connection.-IdleDisconnectSeconds, -IdleDurationSeconds, -IdleDisconnectSecSpecifies a value that specifies the time, in seconds, after which an idle connection is terminated.-InitiateConfigPayloadIndicates whether to initiate configuration payload negotiation.-IntegrityCheckMethod, -OtherHashAlgorithm, -FirstIntegrityAlgorithmSpecifies the integrity method plumbed in IPsec policy.-InternalIPv4Specifies Negotiation of IPv4 Address.-InternalIPv6Specifies negotiation of IPv6 Address.-LocalVpnTrafficSelectorSpecifies the initiator Traffic Selector object.-MMSALifeTimeSeconds, -MMSaLifeTimeSecSpecifies the lifetime of main mode security association in seconds, after which the main mode security association is no longer valid.-Name, -ElementNameSpecifies the name of the connection.-NetworkOutageTimeSeconds, -NetworkOutageTimeSecSpecifies the maximum network outage time after which the connection is disconnected.-NumberOfTriesSpecifies the number of tries the connection is retried.-PassThruReturns an object representing the item with which you are working.-PasswordSpecifies the password of the username to be used for dialing the connection.-PersistentIndicates whether the connection state is persisted across the service restart or system reboots.-PfsGroup, -PfsGroupIdSpecifies the perfect forward secrecy (PFS) Group plumbed in IPsec policy.-PostConnectionIPv4SubnetSpecifies the IPv4 subnet routes that are added to a site-to-site interface after the connection is established.-PostConnectionIPv6SubnetSpecifies the IPv6 subnet routes that are added to a site-to-site interface after the connection is established.-PromoteAlternateSpecifies that an alternate IP address that connects successfully becomes the primary IP address, and the current primary IP address is moved to the alternate list.-Protocol, -KeyModuleSpecifies the underlying protocol.-RadiusAttributeClassSpecifies a RADIUS attribute.-RemoteVpnTrafficSelectorSpecifies the responder traffic selector object.-ResponderAuthenticationMethodSpecifies the responder AuthenticationMethod to be used by the S2S connection.-RetryIntervalSeconds, -RetryIntervalSecNumber of seconds between retries.-RoutingDomain, -RoutingDomainNameSpecifies an ID, as a string, for a routing domain.-RxBandwidthKbpsSpecifies the receive bandwidth limit, in kilobits per second (Kbps).-SADataSizeForRenegotiationKilobytes, -SaRenegotiationDataSizeKB, -LifeTimeKiloBytesSpecifies the number of kilobytes that are allowed to transfer using a security association (SA).-SALifeTimeSeconds, -SaLifeTimeSec, -LifeTimeSeconds, -QMSALifeTimeSecondsLifetime of an SA in seconds, after which the SA is no longer valid-SharedSecretSpecifies the text of the shared secret to be used in dialing the connection.-SourceIpAddressSpecifies the source IPv4 or IPv6 addresses to use when dialing the connection.-ThrottleLimitSpecifies the maximum number of concurrent connections that can be established to run this command.-TxBandwidthKbpsSpecifies a transmit bandwidth limit, in Kbps, for the interface.-UserName, -UserSpecifies the username to be used for dialing this connection.-WhatIf, -wiShows what would happen if the cmdlet runs.