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

Searching and modifying group object information

Searching Active Directory for the presence of a group is similar to searching users and groups. A cmdlet called Get-ADGroup from the Active Directory module can be used to get group object information.

For example, we can use the following command to get display names of all groups in Active Directory:

Get-ADGroup -Filter * | select Name

By specifying asterisk (*) as an argument to the -Filter parameter, we are querying all groups in Active Directory and then displaying the value of the Name property using the select statement.

To search for a specific group by name, we can pass the name of the group to the -Filter parameter, as shown in the following command:

Get-ADGroup -Filter "Name -eq 'Test Group1'"

This command searches Active Directory for groups with the name that exactly matches Test Group1 and returns the group object if present; otherwise, no output is seen.

There is another parameter that helps in performing the...

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