Remove method of the PS_DhcpServerv4Scope class

Deletes the specified IPv4 scopes from the server.

Syntax


uint32 Remove(
  [in]   string ScopeId[],
  [in]   boolean Force,
  [in]   boolean Passthru,
  [in]   string ComputerName,
  [out]  string cmdletOutput[]
);

Parameters

ScopeId [in]

Scope identifier(s) (in IPv4 address format) which are to be deleted.

Force [in]

If specified, deletes the scope even if there are active leases in the scope.

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 the DhcpServerv4Scope class.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2012

Namespace

\root\Microsoft\Windows\DHCP

MOF

DhcpServerPsProvider.mof

See also

PS_DhcpServerv4Scope

 

 

Show:
© 2014 Microsoft. All rights reserved.