About 52,300 results
Open links in new tab
  1. powershell - How to effectively use the `-Filter` parameter on …

    Get-ADUser -Filter "Name -like ""*${term}*""" # Backticks are ugly but this also works Get-ADUser -Filter "Name -like `"*${term}*`"" Note: If your query looks for a field value which contains both …

  2. 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 …

  3. powershell - How to view all properties of an AD User object?

    Oct 18, 2017 · Get-Aduser has a default property set it gets from AD e.g. DisplayName, samaccountname and etc. If you want more then you need to ask for more. From TechNet for …

  4. powershell - The term 'Get-ADUser' is not recognized as the name …

    The term 'Get-ADUser' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is …

  5. powershell - Get-ADUser -Identity - Stack Overflow

    May 9, 2019 · + CategoryInfo : ObjectNotFound: (John.Doe:ADUser) [Get-ADUser], ADIdentityNotFoundException + FullyQualifiedErrorId : …

  6. powershell - Get-ADUser with whenCreated in filter - Stack Overflow

    Jan 16, 2021 · However, I'm facing this redundant issue of not being able to fetch AD user objects with Get-ADUser while using the whenCreated attribute along with -gt or -ge or -lt (excepting …

  7. powershell - Get-ADUser AccountExpirationDate - Stack Overflow

    Get-ADUser -Properties AccountExpirationDate Problem is when I have a user in AD that has not set a expiration date it shows blank. I want that it shows 'Never Expires' because that is the …

  8. powershell - Get CN value from ADUser DistinguishedName

    May 12, 2021 · To complement the helpful answers here with PowerShell-idiomatic regex solutions, which are not fully robust, however (see below): Using -split, the regex-based string …

  9. powershell - How do I get specific properties with Get-AdUser

    How do I get specific properties with Get-AdUser Asked 12 years, 7 months ago Modified 5 years, 3 months ago Viewed 236k times

  10. How to display a user's OU using Powershell - Stack Overflow

    Jul 31, 2020 · I'm trying to write a script that will display users specific properties, Name, Mail Address, OU respectively. the output is as intended however I can't find any solution to extract …