Skip to content

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

License

Notifications You must be signed in to change notification settings

flemmingss/Find-ADObject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published