Set method of the PS_DhcpServerv4MulticastScope class

Modifies the specified properties of a Multicast Scope on the DHCP Server.

Syntax

uint32 Set(
  [in]  string                     ComputerName,
  [in]  string                     Description,
  [in]  string                     EndRange,
  [in]  datetime                   LeaseDuration,
  [in]  string                     Name,
  [in]  boolean                    PassThru,
  [in]  string                     StartRange,
  [in]  string                     State = Active,
  [in]  uint32                     Ttl,
  [in]  string                     NewName,
  [in]  datetime                   ExpiryTime,
  [out] DhcpServerv4MulticastScope cmdletOutput
);

Parameters

ComputerName [in]

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

Description [in]

Description of the Scope. Default value is Null

EndRange [in]

Ending address of the range for the Scope

LeaseDuration [in]

Lease duration. Default value is 30 days

Name [in]

Name of multicast scope.

PassThru [in]

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

StartRange [in]

Starting address of the range for the Scope.

State [in]

Scope state valid values are Active, Inactive. Default value is Active

Active ("Active")

Inactive ("Inactive")

Ttl [in]

Number of routers through which multicast traffic passes.

NewName [in]

New name to be assigned to the multicast scope

ExpiryTime [in]

Expiry time of the 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
DhcpServerPsProvider.mof
DLL
DhcpServerPsProvider.dll

See also

PS_DhcpServerv4MulticastScope