COMMAND EVERYTHING.
Practical commands. Clear explanations. Authoritative sources.
2557 published commands · 2545 documentation-verified · 12 awaiting review · Ask Cmdlet AI
Sets the interface-specific DNS client configurations on the computer.
Set-DnsClient -InterfaceIndex <UInt32[]> [-ConnectionSpecificSuffix <String>]
[-RegisterThisConnectionsAddress <Boolean>] [-UseSuffixWhenRegistering <Boolean>]
[-ResetConnectionSpecificSuffix] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [-PassThru]
[-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesNetworking / SecurityModifies an existing DoH server configuration.
Set-DnsClientDohServerAddress [-ServerAddress] <String[]> [[-DohTemplate] <String>]
[[-AllowFallbackToUdp] <Boolean>] [[-AutoUpgrade] <Boolean>] [-CimSession <CimSession[]>]
[-ThrottleLimit <Int32>] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesNetworking / SecuritySets the DNS client global, non-interface specific, settings.
Set-DnsClientGlobalSetting [-InputObject <CimInstance[]>] [-SuffixSearchList <String[]>]
[-UseDevolution <Boolean>] [-DevolutionLevel <UInt32>] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>]
[-AsJob] [-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesNetworking / SecurityModifies the global Name Resolution Policy Table (NRPT) settings.
Set-DnsClientNrptGlobal [-EnableDAForAllNetworks <String>] [-GpoName <String>]
[-SecureNameQueryFallback <String>] [-QueryPolicy <String>] [-Server <String>] [-PassThru]
[-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesNetworking / SecurityModifies a DNS client Name Resolution Policy Table (NRPT) rule for the specified namespace.
Set-DnsClientNrptRule [-DAEnable <Boolean>] [-DAIPsecEncryptionType <String>] [-DAIPsecRequired <Boolean>]
[-DANameServers <String[]>] [-DAProxyServerName <String>] [-DAProxyType <String>] [-Comment <String>]
[-DnsSecEnable <Boolean>] [-DnsSecIPsecEncryptionType <String>] [-DnsSecIPsecRequired <Boolean>]
[-DnsSecValidationRequired <Boolean>] [-GpoName <String>] [-IPsecTrustAuthority <String>] [-Name] <String>
[-NameEncoding <String>] [-NameServers <String[]>] [-Namespace <String[]>] [-Server <String>]
[-DisplayName <String>] [-PassThru] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [-WhatIf]
[-Confirm] [<CommonParameters>]Copied 0 timesNetworking / SecuritySets DNS server addresses associated with the TCP/IP properties on an interface.
Set-DnsClientServerAddress -InterfaceIndex <UInt32[]> [-ServerAddresses <String[]>] [-Validate]
[-ResetServerAddresses] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [-PassThru] [-WhatIf]
[-Confirm] [<CommonParameters>]Copied 0 timesNetworking / SecurityModifies cache settings for a DNS server.
Set-DnsServerCache [-StoreEmptyAuthenticationResponse <Boolean>] [-MaxKBSize <UInt32>]
[-PollutionProtection <Boolean>] [-ComputerName <String>] [-LockingPercent <UInt32>]
[-MaxNegativeTtl <TimeSpan>] [-MaxTtl <TimeSpan>] [-PassThru] [-IgnorePolicies <Boolean>]
[-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesNetworking / SecurityChanges settings for a DNS conditional forwarder.
Set-DnsServerConditionalForwarderZone [-Name] <String> [-ComputerName <String>] [-PassThru]
[[-UseRecursion] <Boolean>] [[-MasterServers] <IPAddress[]>] [[-ForwarderTimeout] <UInt32>]
[-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesNetworking / SecuritySets debugging and logging parameters.
Set-DnsServerDiagnostics [-ComputerName <String>] [-PassThru] [-Answers <Boolean>] [-EventLogLevel <UInt32>]
[-FullPackets <Boolean>] [-IPFilterList <IPAddress[]>] [-LogFilePath <String>] [-MaxMBFileSize <UInt32>]
[-EnableLoggingForRemoteServerEvent <Boolean>] [-EnableLoggingForPluginDllEvent <Boolean>]
[-UseSystemEventLog <Boolean>] [-EnableLogFileRollover <Boolean>]
[-EnableLoggingForZoneLoadingEvent <Boolean>] [-EnableLoggingForLocalLookupEvent <Boolean>]
[-EnableLoggingToFile <Boolean>] [-EnableLoggingForZoneDataWriteEvent <Boolean>]
[-EnableLoggingForTombstoneEvent <Boolean>] [-EnableLoggingForRecursiveLookupEvent <Boolean>]
[-UdpPackets <Boolean>] [-UnmatchedResponse <Boolean>] [-Updates <Boolean>] [-WriteThrough <Boolean>]
[-SaveLogsToPersistentStorage <Boolean>] [-EnableLoggingForServerStartStopEvent <Boolean>]
[-Notifications <Boolean>] [-Queries <Boolean>] [-QuestionTransactions <Boolean>] [-ReceivePackets <Boolean>]
[-SendPackets <Boolean>] [-TcpPackets <Boolean>] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>]
[-AsJob] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesNetworking / SecurityChanges settings for DNSSEC for a zone.
Set-DnsServerDnsSecZoneSetting [-ZoneName] <String> [[-DenialOfExistence] <String>]
[-NSec3HashAlgorithm <String>] [-NSec3Iterations <UInt16>] [-NSec3OptOut <Boolean>]
[-NSec3RandomSaltLength <Byte>] [-NSec3UserSalt <String>] [-DistributeTrustAnchor <String[]>]
[-EnableRfc5011KeyRollover <Boolean>] [-DSRecordGenerationAlgorithm <String[]>] [-DSRecordSetTtl <TimeSpan>]
[-DnsKeyRecordSetTtl <TimeSpan>] [-SignatureInceptionOffset <TimeSpan>]
[-SecureDelegationPollingPeriod <TimeSpan>] [-PropagationTime <TimeSpan>]
[-ParentHasSecureDelegation <Boolean>] [-ComputerName <String>] [-PassThru] [-CimSession <CimSession[]>]
[-ThrottleLimit <Int32>] [-AsJob] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesNetworking / SecurityModifies DNS Active Directory settings.
Set-DnsServerDsSetting [-DirectoryPartitionAutoEnlistInterval <TimeSpan>] [-LazyUpdateInterval <UInt32>]
[-MinimumBackgroundLoadThreads <UInt32>] [-RemoteReplicationDelay <UInt32>] [-ComputerName <String>]
[-PollingInterval <UInt32>] [-TombstoneInterval <TimeSpan>] [-PassThru] [-CimSession <CimSession[]>]
[-ThrottleLimit <Int32>] [-AsJob] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesNetworking / SecurityChanges EDNS settings on a DNS server.
Set-DnsServerEDns [-CacheTimeout <TimeSpan>] [-EnableProbes <Boolean>] [-EnableReception <Boolean>]
[-ComputerName <String>] [-PassThru] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [-WhatIf]
[-Confirm] [<CommonParameters>]Copied 0 timesNetworking / SecurityConfigures DNS server encryption protocol settings for DNS over HTTPS (DoH) on Windows Server 2025 or later.
Set-DnsServerEncryptionProtocol -EnableDoh <Boolean> [-UriTemplate <String>] [-ComputerName <String>]
[-Force] [-PassThru <Boolean>] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob]
[-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesNetworking / SecurityChanges forwarder settings on a DNS server.
Set-DnsServerForwarder [[-IPAddress] <IPAddress[]>] [-ComputerName <String>] [-UseRootHint <Boolean>]
[-Timeout <UInt32>] [-EnableReordering <Boolean>] [-PassThru] [-CimSession <CimSession[]>]
[-ThrottleLimit <Int32>] [-AsJob] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesNetworking / SecurityChanges configuration settings for a GlobalNames zone.
Set-DnsServerGlobalNameZone [-AlwaysQueryServer <Boolean>] [-BlockUpdates <Boolean>] [-Enable <Boolean>]
[-EnableEDnsProbes <Boolean>] [-GlobalOverLocal <Boolean>] [-PreferAaaa <Boolean>] [-ComputerName <String>]
[-SendTimeout <UInt32>] [-ServerQueryInterval <TimeSpan>] [-PassThru] [-CimSession <CimSession[]>]
[-ThrottleLimit <Int32>] [-AsJob] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesNetworking / SecurityChanges settings of a global query block list.
Set-DnsServerGlobalQueryBlockList [-Enable <Boolean>] [[-List] <String[]>] [-ComputerName <String>] [-PassThru]
[-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesNetworking / SecurityChanges settings for a DNS primary zone.
Set-DnsServerPrimaryZone [-Name] <String> [-ComputerName <String>] [-PassThru]
[-AllowedDcForNsRecordsAutoCreation <String[]>] [-DynamicUpdate <String>] [-Notify <String>]
[-NotifyServers <IPAddress[]>] [-SecondaryServers <IPAddress[]>] [-SecureSecondaries <String>]
[-IgnorePolicies <Boolean>] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [-WhatIf]
[-Confirm] [<CommonParameters>]Copied 0 timesNetworking / SecurityModifies recursion settings for a DNS server.
Set-DnsServerRecursion [-ComputerName <String>] [-AdditionalTimeout <UInt32>] [-RetryInterval <UInt32>]
[-Timeout <UInt32>] [-Enable <Boolean>] [-PassThru] [-SecureResponse <Boolean>] [-CimSession <CimSession[]>]
[-ThrottleLimit <Int32>] [-AsJob] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesNetworking / SecurityModifies a recursion scope on a DNS server.
Set-DnsServerRecursionScope [[-EnableRecursion] <Boolean>] [[-Forwarder] <IPAddress[]>] [-Name] <String>
[-PassThru] [-ComputerName <String>] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [-WhatIf]
[-Confirm] [<CommonParameters>]Copied 0 timesNetworking / SecurityBegins aging of resource records in a specified DNS zone.
Set-DnsServerResourceRecordAging [-ComputerName <String>] [-ZoneName] <String> [[-NodeName] <String>]
[-Recurse] [-Force] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [-WhatIf] [-Confirm]
[<CommonParameters>]Copied 0 timesNetworking / SecurityModifies an IP address in IPAM.
Set-IpamAddress [-IpAddress] <IPAddress[]> [[-ManagedByService] <String[]>] [[-ServiceInstance] <String[]>]
[-NetworkType <VirtualizationType[]>] [-AddressSpace <String[]>] [-NewIPAddress <IPAddress>]
[-NewManagedByService <String>] [-NewServiceInstance <String>] [-NewNetworkType <VirtualizationType>]
[-NewAddressSpace <String>] [-DeviceType <String>] [-IpAddressState <String>]
[-AssignmentType <AddressAssignment>] [-AssignmentDate <DateTime>] [-MacAddress <String>]
[-ExpiryDate <DateTime>] [-Description <String>] [-Owner <String>] [-AssetTag <String>]
[-SerialNumber <String>] [-ClientId <String>] [-Duid <String>] [-Iaid <UInt32>] [-ReservationServer <String>]
[-ReservationName <String>] [-ReservationType <DhcpReservationType>] [-ReservationDescription <String>]
[-DeviceName <String>] [-ForwardLookupZone <String>] [-ForwardLookupPrimaryServer <String>]
[-ReverseLookupZone <String>] [-ReverseLookupPrimaryServer <String>] [-AddCustomConfiguration <String>]
[-RemoveCustomConfiguration <String>] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob]
[-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesNetworking / SecurityModifies address spaces in IPAM.
Set-IpamAddressSpace [-Name] <String[]> [-NewName <String>] [-Owner <String>] [-Description <String>]
[-AddCustomConfiguration <String>] [-RemoveCustomConfiguration <String>]
[-AssociatedProviderAddressSpace <String>] [-Tenant <String>] [-VmNetwork <String>]
[-IsolationMethod <String>] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [-PassThru]
[-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesNetworking / SecurityModifies the address utilization thresholds in IPAM.
Set-IpamAddressUtilizationThreshold [-UnderUtilizationThreshold <UInt32>] [-OverUtilizationThreshold <UInt32>]
[-PassThru] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [-WhatIf] [-Confirm]
[<CommonParameters>]Copied 0 timesNetworking / SecurityModifies settings that IPAM uses to connect to the IPAM database.
Set-IpamDatabase [-DatabaseServer] <String> [-DatabaseName] <String> [-DatabasePort] <UInt16>
-DatabaseAuthType <AuthType> [-DatabaseCredential <PSCredential>] [-PassThru] [-Force]
[-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 times