CmdID / PowerShell / Cmdlets / Set
Set-DnsServerDiagnostics
Sets debugging and logging parameters. Windows Server PowerShell reference
From the Windows Server PowerShell reference 39 parameters Its page in the reference
Parameters
Show its 39 parameters
-AllSpecifies whether the DNS server logs all events.-AnswersSpecifies whether to enable the logging of DNS responses.-AsJobRuns the cmdlet as a background job.-CimSession, -SessionRuns the cmdlet in a remote session or on a remote computer.-ComputerName, -CnSpecifies a DNS server.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-DebugLoggingSpecifies the bitmask for debug logging.-EnableLogFileRolloverSpecifies whether to enable log file rollover.-EnableLoggingForLocalLookupEventSpecifies whether the DNS server logs local lookup events.-EnableLoggingForPluginDllEventSpecifies whether the DNS server logs dynamic link library (DLL) plug-in events.-EnableLoggingForRecursiveLookupEventSpecifies whether the DNS server logs recursive lookup events.-EnableLoggingForRemoteServerEventSpecifies whether the DNS server logs remote server events.-EnableLoggingForServerStartStopEventSpecifies whether the DNS server logs server start and stop events.-EnableLoggingForTombstoneEventSpecifies whether the DNS server logs tombstone events.-EnableLoggingForZoneDataWriteEventSpecifies Controls whether the DNS server logs zone data write events.-EnableLoggingForZoneLoadingEventSpecifies whether the DNS server logs zone load events.-EnableLoggingToFileSpecifies whether the DNS server logs logging-to-file.-EventLogLevelSpecifies an event log level.-FullPacketsSpecifies whether the DNS server logs full packets.-IPFilterList, -FilterIPAddressListSpecifies an array of IP addresses to filter.-LogFilePathSpecifies a log file path.-MaxMBFileSizeSpecifies the maximum size of the log file.-NotificationsSpecifies whether the DNS server logs notifications.-OperationLogLevel1Specifies a bit flag for the logging level.-OperationLogLevel2Specifies the additional operations that the DNS server logs.-PassThruReturns an object representing the item with which you are working.-QueriesSpecifies whether the DNS server allows query packet exchanges to pass through the content filter, such as the *IPFilterList* parameter.-QuestionTransactionsSpecifies whether the DNS server logs queries.-ReceivePacketsSpecifies whether the DNS server logs receive packets.-SaveLogsToPersistentStorageSpecifies whether the DNS server saves logs to persistent storage.-SendPacketsSpecifies whether the DNS server logs send packets.-TcpPacketsSpecifies whether the DNS server logs TCP packets.-ThrottleLimitSpecifies the maximum number of concurrent operations that can be established to run the cmdlet.-UdpPacketsSpecifies whether the DNS server logs UDP packets.-UnmatchedResponseSpecifies whether the DNS server logs unmatched responses.-UpdatesSpecifies whether the DNS server logs updates.-UseSystemEventLogSpecifies whether the DNS server uses the system event log for logging.-WhatIf, -wiShows what would happen if the cmdlet runs.-WriteThroughSpecifies whether the DNS server logs write-throughs.