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

Working with links, enforcements, and order of GPOs


While learning about searching for Group Policies in previous sections, you have seen how to query GPOs linked to a given OU. When a GPO is linked to an OU, Link Enable is set to NO and Enforced is also set to NO. These are defaults; however, it is possible that some of the users might change these values over a period of time based on their needs. For example, the link might be enabled, enforcement might be enabled, and many more functions similar to this. So, how do we find these details using PowerShell so that we can find the exact status of Group Policies linked to an OU? The following function will help in finding this information.

This function queries the specified OU for a list of GPOs linked, their Link Enable status, enforcement status, and the link order of GPOs. You can refer to the TechNet page at http://technet.microsoft.com/en-us/library/hh147307%28v=ws.10%29.aspx to understand these GPO parameters better:

function Get-GPOLinkStatus...
Visually different images
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