Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Add method of the PS_DhcpServerv4PolicyIPRange class

Adds an IP range to an existing policy at the scope level.

Syntax


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

Parameters

ComputerName [in]

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

Name [in]

Name of the policy to which IP address ranges are to be added

ScopeId [in]

Scope identifier, in IPv4 address format, which contains the specified policy

StartRange [in]

Start IP address of the range being added to the policy

EndRange [in]

End IP address of the range being added to the policy

PassThru [in]

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

cmdletOutput [out]

An embedded instance of the DhcpServerv4PolicyIPRange 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_DhcpServerv4PolicyIPRange

 

 

Show:
© 2014 Microsoft