Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This cmdlet adds the specified DNS suffix, DNS server addresses, proxy server set to the NRPT table.
Syntax
uint32 Add(
[in] string DnsIPAddress[],
[in] string DnsSuffix,
[in] string ProxyServer,
[in] string ComputerName,
[in] boolean PassThru,
[out] DnsClientNrptRule cmdletOutput
);
Parameters
-
DnsIPAddress [in]
-
IPv4/IPv6 address of the corresponding DNS servers that should be used for the specified DNS suffix
-
DnsSuffix [in]
-
Specifies a single DNS suffix
-
ProxyServer [in]
-
IPv4/IPv6 address or hostname of the proxy server configured for web traffic. The proxy server is specified in the format, Proxy_Hostname:port or Proxy_IPAddress:port
-
ComputerName [in]
-
IPv4/IPv6 address or hostname of the machine on which the remote access server machine specific tasks should be executed
-
PassThru [in]
-
Returns the NRPT object that contains the NRPT rules. By default this cmdlet does not generate any output
-
cmdletOutput [out]
-
NRPT object for the NRPT entry that was added
Requirements
| Minimum supported client |
None supported |
| Minimum supported server |
Windows Server 2012 |
| Namespace |
Root\Microsoft\Windows\RemoteAccess |
| MOF |
|
| DLL |
|