Remove method of the PS_DhcpServerv4MulticastScope class

Remove the specified multicast scope(s) from the DHCP Server.

Syntax

uint32 Remove(
  [in]  string                     ComputerName,
  [in]  string                     Name[],
  [in]  boolean                    Force,
  [in]  boolean                    PassThru,
  [out] DhcpServerv4MulticastScope cmdletOutput[]
);

Parameters

ComputerName [in]

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

Name [in]

Names of multicast scopes

Force [in]

If specified, deletes the scope even if there are active leases in the scope

PassThru [in]

Specifies whether this method returns the DhcpServerv4MulticastScope object. True returns the object, False does not.

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