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_DnsServerScavenging class

Sets scavenging settings on the Server.

Syntax


uint32 Set(
  [in]   boolean ApplyOnAllZones,
  [in]   string ComputerName,
  [in]   boolean ScavengingState,
  [in]   datetime RefreshInterval,
  [in]   datetime NoRefreshInterval,
  [out]  string cmdletOutput
);

Parameters

ApplyOnAllZones [in]

The server settings get applied on all zones

ComputerName [in]

Specifies the remote computer on which to execute the command

ScavengingState [in]

Enable Automatic scavenging of stale records. Determines whether the DNS scavenging feature is enabled by default on newly created zones. 0: Disables scavenging. This is the default setting. 1: Enables scavenging

RefreshInterval [in]

Sets a period of time that is allowed for dynamic updates to DNS records. This value is inherited automatically by zones on the server. To change the default, enter a value in the range of 0x1-0xFFFFFFFF. The default value from the server is 0xA8. Range = 0, 8760

NoRefreshInterval [in]

Sets a period of time in which no refreshes are accepted for dynamically updated records. This value is inherited automatically by zones on the server. To change the default, enter a value in the range of 0x1-0xFFFFFFFF. The default value from the server is 0xA8. Range = 0, 8760

cmdletOutput [out]

On return, contains an instance of the current object. This parameter returns a value only if PassThru is set to true.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Namespace

\root\Microsoft\Windows\Dns

MOF

DnsServerPSProvider.mof

DLL

DnsServerPSProvider.dll

See also

PS_DnsServerScavenging

 

 

Community Additions

Show:
© 2014 Microsoft