• 512-991-7197
  • This email address is being protected from spambots. You need JavaScript enabled to view it.
  • Always Open

Welcome to Active Directory Tips & Tricks

Find objects at a base level in AD only

Find objects at a base level in AD only


Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive
 

Q. When using the various Get-AD cmdlets, is there a way to only find objects at the base search level?

A. There are a number of cmdlets that can be used to find objects in Active Directory such as Get-AD which will find objects matching the filter at the passed path and in any child container. If you wish to limit the scope of the search you can add the - SearchScope parameter with Base (only find in the path), OneLevel (search one level down) or Subtree (search the entire child hierarchy).



Recommend other relevant articles:

 

 

© 2019 Austin Laptop [AustinLaptop.Com]. All Rights Reserved.