Freigeben über


Remove method of the PS_DhcpServerv4Failover class

Removes the specified failover relationship(s). The failover relationship will be removed from both the DHCP servers which are part of this failover relationship.

Syntax

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

Parameters

Name [in]

Name(s) of the failover relationships which are to be removed

Force [in]

User confirmation of this action is sought by default. If -Force is specified, default user confirmation will not be sought.

PassThru [in]

If this parameter is specified, the cmdlet returns the PowerShell object which is modified.

ComputerName [in]

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

cmdletOutput [out]

An embedded instance of a DhcpServerv4Failover object.

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_DhcpServerv4Failover