Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Active Directory with PowerShell
  • Table Of Contents Toc
Active Directory with PowerShell

Active Directory with PowerShell

By : Pamarthi Venkata Sitaram, YELLAPRAGADA U PADMAVATHI
4 (9)
close
close
Active Directory with PowerShell

Active Directory with PowerShell

4 (9)
By: Pamarthi Venkata Sitaram, YELLAPRAGADA U PADMAVATHI

Overview of this book

If you are looking to automate repetitive tasks in Active Directory management using the PowerShell module, then this book is for you. Any experience in PowerShell would be an added advantage.
Table of Contents (11 chapters)
close
close
10
Index

Managing DNS Clients


So far we have seen different DNS sever-related operations in this chapter. As mentioned at the beginning of this chapter, a module is available for managing the client-side operations related to DNS. It can be loaded using the following command:

Import-Module DnsClient

In the previous section, we used the Resolve-Dnsname cmdlet from this module, which helps in resolving the DNS names. The following are some of the frequent DNS operations that are performed from the client's-side and sample codes:

Get client-side DNS cache. This is equivalent to the ipconfig /displaydns command in Windows as shown in the following command:

Get-DnsClientCache

The client-side cache can be cleared by using the following command. This is equivalent to the ipconfig /flushdns command:

Clear-DnsClientCache

The following command displays the DNS servers configured on the LabNet network interface:

Get-DnsClientServerAddress -InterfaceAlias Labnet -AddressFamily Ipv4

DNS server IP addresses on...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Active Directory with PowerShell
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon