次の方法で共有


Set method of the PS_DhcpServerv4Reservation class

Modifies/sets the properties of an IPv4 reservation.

Syntax

uint32 Set(
  [in]  string                  ComputerName,
  [in]  string                  IPAddress,
  [in]  string                  ClientId,
  [in]  string                  Name,
  [in]  string                  Description,
  [in]  string                  Type,
  [in]  boolean                 PassThru,
  [out] DhcpServerv4Reservation cmdletOutput
);

Parameters

ComputerName [in]

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

IPAddress [in]

IPv4 address of the reservation whose properties are to be modified or set

ClientId [in]

Value of client identifier to be set on the reservation. For Windows clients, MAC address is used as a client identifier.

Name [in]

Name to be set for the reservation

Description [in]

Description string to be set for the reservation

Type [in]

Type of client which can be leased the reserved IPv4 address. Valid values are Dhcp, Bootp or Both.

Dhcp ("Dhcp")

Bootp ("Bootp")

Both ("Both")

PassThru [in]

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

cmdletOutput [out]

An embedded instance of the DhcpServerv4Reservation 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_DhcpServerv4Reservation