Share via


Add method of the PS_DhcpServerv4FailoverScope class

Adds the specified scope(s) to the failover relationship.

Syntax

uint32 Add(
  [in]  string               Name,
  [in]  string               ScopeId[],
  [in]  string               ComputerName,
  [in]  boolean              PassThru,
  [out] DhcpServerv4Failover cmdletOutput
);

Parameters

Name [in]

Name of the failover relationship to which the scopes are being added.

ScopeId [in]

Scope identifiers, in IPv4 address format, which are to be removed from the failover relationship.

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 returns the PowerShell object which is added.

cmdletOutput [out]

An embedded instance of the DhcpServerv4Failover 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_DhcpServerv4FailoverScope