Share via


ImportByDSSet method of the PS_DnsServerTrustAnchor class

Imports a DNS server Trust anchor from a specified file.

Syntax

uint32 ImportByDSSet(
  [in]  string               ComputerName,
  [in]  string               DSSetFile,
  [in]  boolean              PassThru,
  [out] DnsServerTrustAnchor cmdletOutput[]
);

Parameters

ComputerName [in]

An optional DNS server name. The acceptable values for this parameter are: an IP address or any value that resolves to an IP address, such as a fully qualified domain name (FQDN), host name, or NETBIOS name.

DSSetFile [in]

File path of the DSset file.

PassThru [in]

True to return the object that was modified by the method. By default, this method does not generate any output.

cmdletOutput [out]

Receives and embedded instance of the DnsServerTrustAnchor class.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012
Namespace
Root\Microsoft\Windows\Dns
MOF
DnsServerPSProvider.mof
DLL
DnsServerPSProvider.dll

See also

PS_DnsServerTrustAnchor