Jump to content

Recommended Posts

Posted (edited)

You can run the following script on a domain controller to see all enabled users using Powershell in Pulseway: 

get-aduser -filter * -properties samaccountname, enabled, givenname, surname | where {$_.enabled -eq $true} | select -property samaccountname, givenname, surname | sort-object -property samaccountname

 

The output will be all users in AD where the enabled-attribute is set to true (ie all active users), and they will be presented in alphabetical order sorted by their username.

Edited by AC_Martin_J

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...