Share via


Add method of the PS_DhcpServerv4MulticastExclusionRange class

Sets the range of addresses to exclude from a multicast scope

Syntax

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

Parameters

ComputerName [in]

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

Name [in]

Name of the multicast scope for which to set the IP address exclusion range

StartRange [in]

Start of the range of IP addresses to exclude from the Scope

EndRange [in]

End of the range of IP addresses to exclude from the Scope

PassThru [in]

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

cmdletOutput [out]

An embedded instance of the DhcpServerv4MulticastExclusionRange class.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012 R2
Namespace
Root\Microsoft\Windows\DHCP
MOF
DhcpServerPsProvider.mof
DLL
DhcpServerPsProvider.dll

See also

PS_DhcpServerv4MulticastExclusionRange