Partager via


InvokeByName method of the PS_DhcpServerv4FailoverReplication class

Replicate scope configuration between failover partner servers.

Syntax

uint32 InvokeByName(
  [in]  string  ComputerName,
  [in]  boolean Force,
  [in]  string  Name[],
  [out] string  cmdletOutput[]
);

Parameters

ComputerName [in]

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

Force [in]

A user confirmation is sought by default by this cmdlet. If -Force is specified, the default confirmation is not sought from the user.

Name [in]

Name of the failover relationship. All scopes of the specified relationship(s) are replicated to the partner server.

cmdletOutput [out]

An embedded instance of the DhcpServerv4FailoverReplication 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_DhcpServerv4FailoverReplication