Add method of the PS_DhcpServerv4MulticastScope class
Adds a Multicast Scope on the DHCP Server.
Syntax
uint32 Add(
[in] string ComputerName,
[in] string Name,
[in] string StartRange,
[in] string EndRange,
[in] string Description,
[in] string State = Active,
[in] datetime LeaseDuration,
[in] boolean PassThru,
[in] uint32 Ttl,
[in] datetime ExpiryTime,
[out] DhcpServerv4MulticastScope cmdletOutput
);
Parameters
-
ComputerName [in]
-
DNS name or IP address of the target computer running the DHCP server service.
-
Name [in]
-
Name of multicast scope.
-
StartRange [in]
-
Starting address of the range for the Scope.
-
EndRange [in]
-
Ending address of the range for the Scope
-
Description [in]
-
Description of the Scope.
The default value is.
-
Null
-
-
State [in]
-
Scope state.
-
Active ("Active")
-
Inactive ("Inactive")
LeaseDuration [in]
Lease duration. Default value is 30 days
PassThru [in]
If this parameter is specified, the cmdlet returns the PowerShell object which is added.
Ttl [in]
Number of routers through which multicast traffic passes through. Default value is 32
ExpiryTime [in]
Expiry time for the multicast scope. default value is infinite
cmdletOutput [out]
An embedded instance of a DhcpServerv4MulticastScope class.
Requirements
Minimum supported client |
None supported |
Minimum supported server |
Windows Server 2012 R2 |
Namespace |
Root\Microsoft\Windows\DHCP |
MOF |
|
DLL |
|