Add-DnsServerForwarder
DNS Cmdlet: Add-DnsServerForwarder
Syntax:
Add-DnsServerForwarder [-IPAddress] <IPAddress[]> [-ComputerName <String>] [-PassThru] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [-WhatIf] [-Confirm] [<CommonParameters>]
Parameters and Description:
| Parameters | Description |
|---|---|
| ComputerName (Type: String) | Enter the IP address, FQDN, NETBIOS name, or host name of the remote DNS server. |
| PassThru (Type: SwitchParameter) | Represents the item you are working with. |
| CimSession (Type: CimSession [] ) | Helps run the cmdlet on a remote computer or session. Runs the cmdlet on the local computer in the current session, by default. |
| ThrottleLimit (Type: Int32) | Lets you specify the number of maximum concurrent operations that can be allowed to run this cmdlet. If its value is 0 or not specified, PowerShell will calculate the right throttle limit automatically. |
| AsJob (Type: SwitchParameter) | Used to run the cmdlet as a job in the background. |
| WhatIf (Type: SwitchParameter) | Shows the result of running this cmdlet. |
| Confirm (Type: SwitcParameter) | Allows you to let the cmdlet run or stop it. |
For more details, please check Microsoft's article about the cmdlet.
Purpose of this cmdlet:
Lets you add an entry to a DNS server's forwarders list.
Example:
Add-DnsServerForwarder -IPAddress xxx.xx.xx.xxx - PassThru
Where xxx.xx.xx.xxx is an IP address to be added to the local DNS server's forwarders list.
Did you know that using ADManager Plus, you can easily
- Allow or stop a user from logging on to specific machines
- List all computers running on the desired operating systems
- Find all the servers that a user can access
- And more, easily without any PowerShell scripting
Download the free 30-day trial to try out these features in your own environment.
Active Directory Management and Reporting Solution
ADManager Plus is a web-based tool which offers the capability to manage Active Directory attributes in bulk easily using CSV files or templates. Get built-in reports on users and export them in CSV, PDF, HTML and XLSX formats.
Unravel end-to-end Active Directory management with ADManager Plus
-
- ADManager Plus Active Directory Management & Reporting
- ADAudit Plus Hybrid AD, cloud, and file auditing and security
- EventLog Analyzer Real-time Log Analysis & Reporting
- ADSelfService Plus Self-Service Password Management
- AD360 Integrated Identity & Access Management
- Log360 Comprehensive SIEM and UEBA
- AD Free Tools Active Directory FREE Tools
