Add method of the PS_DhcpServerv4Superscope class

Adds the specified scopes to a superscope.

Syntax

uint32 Add(
  [in]  string                 SuperscopeName,
  [in]  string                 ScopeId[],
  [in]  boolean                Force,
  [in]  string                 ComputerName,
  [in]  boolean                PassThru,
  [out] DhcpServerv4Superscope cmdletOutput[]
);

Parameters

SuperscopeName [in]

The name of the superscope to which the scopes will be added.

ScopeId [in]

The identifiers of the scopes which are to be made part of a superscope. The specified scope should already exist.

Force [in]

If Force is specified and if a specified scope is already part of a different superscope, the specified scope will be removed from this superscope and added to the specified superscope.

ComputerName [in]

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

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