About 50 results
Open links in new tab
  1. Powershell Active Directory Query - Stack Overflow

    Jun 22, 2022 · New to using Powershell, so I apologize for any noobness that I show. I'm trying to extract user names, active status, Expiration Dates and Titles from Active Directory. My Powershell …

  2. powershell - How to effectively use the `-Filter` parameter on Active ...

    Note about Azure AD cmdlets This answer is crafted around the Active Directory cmdlets installed and available from Remote Server Administration Tools (RSAT). However, the Azure AD cmdlets make …

  3. Best PowerShell method to get the current Active Directory Site name …

    Apr 16, 2024 · What are the different ways to get the current Active Directory (AD) site in PowerShell - and which is the fastest, most efficient, and works under the most scenarios?

  4. active directory - LDAP query in PowerShell - Stack Overflow

    Aug 10, 2017 · 12 Given the contents of the query filter, I'd say you're looking for a user, so I'd suggest using the Get-ADUser cmdlet from the ActiveDirectory RSAT module:

  5. How to extract all users information from Active Directory

    Aug 3, 2022 · 2 I need to bulk "download" every user we have on Active directory. I need the email address, location etc. I have been looking into the PowerShell command "Get-ADuser -Filter", …

  6. Powershell - query all AD users and get their last login date

    Aug 25, 2023 · I would like to query all AD users and get the following attributes from each user: SamAccountName, UserPrincipalName, LastLogonDate, Enabled, LockedOut, …

  7. active directory - Search AD with PowerShell without using AD module ...

    Sep 1, 2017 · 6 ActiveDirectory module comes with Remote Server Administration Tools (RSAT). I would like to avoid the installation of RSAT on PC client. Is there a way to retrieve members of AD …

  8. How to retrieve only enabled users from the Active Directory

    simply try below commands in powershell as administrator permission. As a guide, the first part will filter users, second part filtered enabled users and last part will give you export of results.

  9. active directory - Powershell script to query specifc OU in AD for ...

    I'm looking for a way to query AD for computer names for specific OU's. Ideally the script would prompt the user to enter the OU and path of text file to export to. Then it would search AD for a match and if …

  10. Powershell: Get number of computers connected to Active Directory by …

    Apr 13, 2020 · I have a task to get the number of computers connected to a certain Active Directory, grouped by OS. I figured out how to find out the name of the OS installed on a certain computer: Get …