About 50 results
Open links in new tab
  1. Export simple list of all computers in multiple OU's in AD

    Oct 30, 2015 · POWERSHELL GET AD COMPUTER OBJECT LIST OUTPUT TO FILE Check out these PowerShell one-liner examples below, you can change and test the filter part of it to suit your needs …

  2. How To Dump All Computers and Servers in Active Directory

    Aug 19, 2020 · With the caveat that the user running the command has permissions (and PowerShell elevated if necessary) to see all those computer objects in AD. Any user should be able to see them …

  3. powershell - Search Active Directory for computers logged in, in the ...

    Oct 4, 2017 · Please clarify the question or what it is you are trying to accomplish. Are you trying to find the last logon time of the AD computer account? Or the last time a user logged into the computer? …

  4. active directory - Export to file Get-ACL for AD Computer Object then ...

    Aug 28, 2023 · You can use the Get-Acl cmdlet in PowerShell to retrieve the DACL of an AD object. Here’s an example command that exports the DACL of an AD object to a CSV file:

  5. active directory - Extract OU name using Powershell's Get ...

    Apr 9, 2020 · I want to get a list of servers on our Active Directory, I also want to include their IP, OS and what Organization Unit they belong to. It is the direct parent OU from which my servers belong to I...

  6. Get list of last logged users from AD OU - Server Fault

    Dec 16, 2024 · I am trying to get a list of last logged in users using PowerShell. I tried the following, but doesn't reveal the user: $ou = "OU=MyOU,DC=test,DC=com" # Get computers ...

  7. How can I export all group policies to a easily-parseable format?

    Jul 24, 2009 · Is there a way I can easily export all the Group Policies to text or some other easily-parseable format? Edit: Will these tools work from a computer that is not part of the domain? I have …

  8. How to pull the complete list of Logon Script (or Script Path) present ...

    Nov 26, 2020 · You can use the Get-ADUser cmdlet from the Active Directory module for Windows PowerShell to list all ScriptPath attribute values in your domain. Pipe this into the Group-Object …

  9. How do I find orphaned computer objects in Active Directory using ...

    Aug 9, 2012 · How can I find all computer accounts in my Active Directory domain that have been inactive for x days using PowerShell? Note that I do actually know how to do this.

  10. active directory - Export a list from AD - Server Fault

    Dec 2, 2016 · Mostly when I export a list from AD I get the telephone number under the general tab. I would like to export a list containing First Name, Last name and all the phone numbers under both …