CmdID / PowerShell / Cmdlets / Set
Set-DnsServerEncryptionProtocol
Configures DNS server encryption protocol settings for DNS over HTTPS (DoH) on Windows Server 2025 or later. Windows Server PowerShell reference
From the Windows Server PowerShell reference 10 parameters Its page in the reference
Parameters
-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.-EnableDohSpecifies whether to enable or disable DNS over HTTPS (DoH) on the DNS server.-ForceForces the command to run without asking for user confirmation.-PassThruReturns an object representing the item with which you are working.-ThrottleLimitSpecifies the maximum number of concurrent operations that can be established to run the cmdlet.-UriTemplateSpecifies one or more URI templates for DNS over HTTPS (DoH) queries.-WhatIf, -wiShows what would happen if the cmdlet runs.