Share via


Remove method of the PS_DhcpServerv4Superscope class

Removes the specified scope(s) from a superscope. Superscope is deleted if there are no scopes left in the superscope.

Syntax

uint32 Remove(
  [in]  string                 ComputerName,
  [in]  string                 SuperscopeName,
  [in]  string                 ScopeId[],
  [in]  boolean                Passthru,
  [out] DhcpServerv4Superscope cmdletOutput[]
);

Parameters

ComputerName [in]

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

SuperscopeName [in]

Name of the superscope from which the scopes are to be removed.

ScopeId [in]

Scope identifier(s) (in IPv4 address format) which need to be removed from a superscope.

Passthru [in]

If this parameter is specified, the cmdlet return the PowerShell objects which are deleted.

cmdletOutput [out]

An embedded instance of the DhcpServerv4Superscope 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_DhcpServerv4Superscope