Share via


Repair method of the PS_DhcpServerv4IPRecord class

Reconciles DHCP server database for the specified scopes.The cmdlet alias is Reconcile-DhcpServerv4IPRecord.

Syntax

uint32 Repair(
  [in]  string                ComputerName,
  [in]  string                ScopeId[],
  [in]  boolean               ReportOnly,
  [in]  boolean               Force,
  [out] DhcpServerv4IPRecords cmdletOutput[]
);

Parameters

ComputerName [in]

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

ScopeId [in]

List of scopes to be reconciled.

ReportOnly [in]

If specified, all the lease inconsistencies for specified scopes will be listed in a DhcpServerv4IPRecord[] object.

Force [in]

If specified default confirmation should not be sought.

cmdletOutput [out]

An embedded instance of a DhcpServerv4IPRecord object.

Requirements

Minimum supported client
None supported
Minimum supported server
None supported
Namespace
Root\Microsoft\Windows\DHCP
MOF
DhcpServerPsProvider.mof
DLL
DhcpServerPsProvider.dll

See also

PS_DhcpServerv4IPRecord