Add method of the PS_DhcpServerv6ExclusionRange class

Sets the range of IPv6 addresses to exclude from an IPv6 scope. IP addresses from this range will not be leased out by the DHCP server.

Syntax


uint32 Add(
  [in]  string                     ComputerName,
  [in]  string                     StartRange,
  [in]  string                     EndRange,
  [in]  string                     Prefix,
  [in]  boolean                    PassThru,
  [out] DhcpServerv6ExclusionRange cmdletOutput
);

Parameters

ComputerName [in]

DNS name or IP address of the target computer running the DHCP server service.

StartRange [in]

Starting IP address in exclusion range, string formatted as an IPv6 Address.

EndRange [in]

Ending IP address in exclusion range, string formatted as an IPv6 Address.

Prefix [in]

The IPv6 prefix of the scope to which the exclusion range is being added.

PassThru [in]

If this parameter is specified, the cmdlet returns the PowerShell object which is added.

cmdletOutput [out]

An embedded instance of the DhcpServerv6ExclusionRange class.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2012

Namespace

Root\Microsoft\Windows\DHCP

MOF

DhcpServerPsProvider.mof

DLL

DhcpServerPsProvider.dll

See also

PS_DhcpServerv6ExclusionRange

 

 

Show: