Windows Dev Center

Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Set method of the PS_DhcpServerv4Binding class

Binds or unbinds the DHCP server from the specified IPv4 interface on the system.

Syntax


uint32 Set(
  [in]   string ComputerName,
  [in]   string InterfaceAlias[],
  [in]   boolean BindingState,
  [in]   boolean PassThru,
  [out]  string cmdletOutput[]
);

Parameters

ComputerName [in]

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

InterfaceAlias [in]

Name(s) of the interface in the system

BindingState [in]

Binding state of the interface. Can be set to true or false

PassThru [in]

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

cmdletOutput [out]

An embedded instance of a DhcpServerv4Binding 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_DhcpServerv4Binding

 

 

Show:
© 2015 Microsoft