Share via


Invoke method of the PS_DnsServerZoneSign class

Initiates an operation to sign a zone.

Syntax

uint32 Invoke(
  [in]  string               ZoneName,
  [in]  boolean              SignWithDefault,
  [in]  boolean              DoResign,
  [in]  string               ComputerName,
  [in]  boolean              Force,
  [in]  boolean              PassThru,
  [out] DnsServerPrimaryZone cmdletOutput
);

Parameters

ZoneName [in]

The name of the primary zone to sign.

SignWithDefault [in]

Signs a zone with default settings. If a zone is already signed, this parameter removes the existing key signing key (KSK) and zone signing key (ZSK) values for the zone and configures DNSSEC settings to default values. A new KSK and a new ZSK are used to re-sign the zone.

DoResign [in]

Re-signs a DNSSEC-signed zone.

ComputerName [in]

Optional. A DNS server name. If you do not specify this parameter, the command runs on the local system. You can specify 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.

Force [in]

Signs the DNS Server zone without prompting you for confirmation. By default, the cmdlet prompts you for confirmation before it proceeds.

PassThru [in]

Specifies whether the method returns an object that represents the item you are working. By default, this method does not generate any output.

cmdletOutput [out]

An embedded instance of the DnsServerZoneSign 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_DnsServerZoneSign