Remove method of the PS_DhcpServerv4PolicyIPRange class

Deletes an IP range from an existing policy at the scope level.

Syntax


uint32 Remove(
  [in]   string Name,
  [in]   string ScopeId,
  [in]   string StartRange,
  [in]   string EndRange,
  [in]   boolean PassThru,
  [in]   string ComputerName,
  [out]  string cmdletOutput[]
);

Parameters

Name [in]

Name of the policy whose associated IP address range(s) are to be deleted

ScopeId [in]

Scope identifier (in IPv4 address format) which contains the specified policy

StartRange [in]

Start IP address of the IP address range which is to be deleted from the policy

EndRange [in]

End IP address of the IP address range which is to be deleted from the policy

PassThru [in]

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

ComputerName [in]

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

cmdletOutput [out]

An embedded instance of the DhcpServerv4PolicyIPRange 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_DhcpServerv4PolicyIPRange

 

 

Show:
© 2014 Microsoft