Skip to content

Latest commit

 

History

History
43 lines (31 loc) · 1.15 KB

README.md

File metadata and controls

43 lines (31 loc) · 1.15 KB

Find-ADObject

A PowerShell function to search Active Directory for objects like Printers, Users, Groups and Computers. Supports wildcards as *

Description
A function to search Active Directory for objects. Category (Users, Computers, Groups and Printers) can be specified, or you can search all categories at the same time. It also supports wildcard so you don't have to know more then some of the text you are looking for.

A lot of the search-specific code are copyed from the Microsoft Scripting Blog. https://devblogs.microsoft.com/scripting/

Requirements

Instructions

Load function:

Import-Module .\Find-ADObject.ps1

Run function:

Find-ADObject -Name *SearchText*

Run function and specify category:

Find-ADObject -Name *SearchText* -Category Users

Category can be "Users", "Computers", "Groups" or "Printers"

Screenshots

alt tag

Changelog

  • 18.06.2020
    • Release