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.
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] DhcpServerv4PolicyIPRange 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 |
|
| DLL |
|