次の方法で共有


Set method of the PS_DhcpServerDnsCredential class

Sets DNS credentials to be used by the DHCP server for registering or de-registering client records with DNS server

Syntax

uint32 Set(
  [in]  string                  ComputerName,
  [in]  string                  Credential,
  [in]  boolean                 PassThru,
  [out] DhcpServerDnsCredential cmdletOutput
);

Parameters

ComputerName [in]

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

Credential [in]

PSCredential object which contains fully qualified username and password of the account to be used.

PassThru [in]

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

cmdletOutput [out]

An embedded instance of a DhcpServerDnsCredential object.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012 R2
Namespace
Root\Microsoft\Windows\DHCP
MOF
DhcpServerPsProvider.mof
DLL
DhcpServerPsProvider.dll

See also

PS_DhcpServerDnsCredential