Partager via


Set method of the PS_DhcpServerv6StatelessStore class

Sets the properties of IPv6 stateless store for the specified IPv6 prefix.

Syntax

uint32 Set(
  [in]  string                     Prefix,
  [in]  boolean                    Enabled,
  [in]  datetime                   PurgeInterval,
  [in]  string                     ComputerName,
  [in]  boolean                    PassThru,
  [out] DhcpServerv6StatelessStore cmdletOutput
);

Parameters

Prefix [in]

IPv6 subnet prefix of the scope whose stateless store properties are to be set

Enabled [in]

Enable or Disable the stateless store. Valid values are True, False.

PurgeInterval [in]

Purge interval for the stateless store. If a client does not send a DHCPv6 Information Request, request for options, in this interval, the client is assumed to be no longer present on that subnet and the stateless store entry for the client is purged by the server. This value can be configured in dd.hh format. If minutes or seconds are specified, by using the dd.hh:mm:ss format, they will be ignored.

ComputerName [in]

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

PassThru [in]

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

cmdletOutput [out]

An embedded instance of the DhcpServerv6StatelessStore 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_DhcpServerv6StatelessStore