Share via


Remove method of the PS_DhcpServerv4OptionValue class

Deletes one more IPv4 option values at the server, scope or reservation level, either for the standard IPv4 options or for the specified vendor or user Class.

Syntax

uint32 Remove(
  [in]  string                  VendorClass,
  [in]  string                  ComputerName,
  [in]  uint32                  OptionId[],
  [in]  string                  UserClass,
  [in]  string                  ScopeId,
  [in]  string                  ReservedIP,
  [in]  boolean                 PassThru,
  [in]  string                  PolicyName,
  [out] DhcpServerv4OptionValue cmdletOutput[]
);

Parameters

VendorClass [in]

If specified, the option values for the specified vendor class are deleted

ComputerName [in]

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

OptionId [in]

Numeric identifier(s) of the option(s) which are to be deleted

UserClass [in]

If specified, the option values for the specified user class are deleted

ScopeId [in]

Scope identifier (in IPv4 address format) from which the option values are to be deleted

ReservedIP [in]

IPv4 address of the reservation from which the option values are to be deleted

PassThru [in]

Passes the object created by this cmdlet through the pipeline. By default, this cmdlet does not pass any objects through the pipeline.

PolicyName [in]

Name of the policy from which the option values are to be deleted

cmdletOutput [out]

An embedded instance of the DhcpServerv4OptionValue 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_DhcpServerv4OptionValue