Set method of the PS_DhcpServerSetting class

Sets a server level configuration parameter for the DHCP server.

Syntax


uint32 Set(
  [in]   uint32 ConflictDetectionAttempts,
  [in]   string NpsUnreachableAction,
  [in]   boolean NapEnabled,
  [in]   string ComputerName,
  [in]   boolean ActivatePolicies,
  [in]   boolean PassThru,
  [out]  string cmdletOutput
);

Parameters

ConflictDetectionAttempts [in]

Number of time DHCP server should attempt conflict detection before leasing an IP address. Default value is 0. Valid values are 0-5.

NpsUnreachableAction [in]

When NAP enabled, the default action that the DHCP server should perform if the NPS server is unreachable. Valid values are Full, Restricted, NoAccess.

Full (Full)
Restricted (Restricted)
NoAccess (NoAccess )
NapEnabled [in]

Enable/Disable NAP (Network Access Policy) check on the server. If NAP is enabled, DHCP server uses the NPS server to perform a NAP check before leasing an IP address.

ComputerName [in]

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

ActivatePolicies [in]

Enable/Disable enforcement of policies. Valid values are True, False.

PassThru [in]

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

cmdletOutput [out]

An embedded instance of a DhcpServerSetting object.

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_DhcpServerSetting

 

 

Show:
© 2014 Microsoft