Skip to content

Get OU location of the user or computer using PowerShell

License

Notifications You must be signed in to change notification settings

ltiwana/Get-ADObjectLocation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Get-ADObjectLocation

Get OU location of the user or computer using PowerShell. This script can create a simple visual map for you to point out exact location of the AD object

Examples:
Get-ADObjectLocation -ComputerName MYPC

Output:
my.domain.local
    |___ Developers
        |___ Computers
            |___ MYPC

Examples:
Get-ADObjectLocation -Username MyUserName

Output:
my.domain.local
    |___ Developers
        |___ Users
            |___ MyUserName

About

Get OU location of the user or computer using PowerShell

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published