Remove method of the PS_DhcpServerv6Scope class

Deletes the IPv6 Scopes from the DHCP Server corresponding to the specified prefixes

Syntax


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

Parameters

Prefix [in]

IPv6 subnet prefixes of the scopes which are to be deleted.

Force [in]

If specified, the scope will be deleted even if there are active leases in the scope

Passthru [in]

If this parameter is specified, the cmdlet return the PowerShell objects which are deleted.

ComputerName [in]

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

cmdletOutput [out]

An embedded instance of the DhcpServerv6Scope 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_DhcpServerv6Scope

 

 

Show: