ExportByDsKey method of the PS_DnsServerDnsSecPublicKey class
Exports DS or DNSKEY information of a DNSSEC signed zone.
Syntax
uint32 ExportByDsKey(
[in] string ZoneName,
[in] boolean UnAuthenticated,
[in] string ComputerName,
[in] boolean Force,
[in] boolean NoClobber,
[in] boolean PassThru,
[in] string Path,
[in] string DigestType[],
[out] DnsServerResourceRecord cmdletOutput[]
);
Parameters
-
ZoneName [in]
-
Name of the primary zone from which DnsSec public keys will be exported.
-
UnAuthenticated [in]
-
If specified, even if the admin does not have permissions to run the cmdlets on the remote server, the provider would query for DNSKEY and export the required data.
-
ComputerName [in]
-
DNS server name which is authoritative for the Signed zone.
-
Force [in]
-
If specified, overrides default confirmation before performing the operation.
-
NoClobber [in]
-
If specified, does not overwrite if the file already exists.
-
PassThru [in]
-
If specified, returns the object or objects on which the operation was done.
-
Path [in]
-
Absolute path used to place the keyset file, the file name will be automatically created according to the zone name.
-
DigestType [in]
-
Algorithm used to create the DS record.
The possible values are.
-
Sha1 ("Sha1")
-
Sha256 ("Sha256")
-
Sha384 ("Sha384")
cmdletOutput [out]
A DnsServerResourceRecord that contains the exported information.
Requirements
Minimum supported client |
None supported |
Minimum supported server |
Windows Server 2016 |
Namespace |
Root\Microsoft\Windows\Dns |
MOF |
|
DLL |
|