Tag: Get-AdUser
-
PowerShell Script to Get Password Expiry Of a user or All users
As an administrator, we get query that how to find password expiry date for a single user or get details of all the users. You can run the below command either on a domain controller or a member server. Log in to a Domain Controller. Import the Active Directory PowerShell module Import-Module ActiveDirectory. Run the below…
-
PowerShell Script to Get User Created in last 30 Days
As an administrator, we get query that how to find users which is created in last “X” no of days. Below scripts will give output for number of users created in last 30 days You can run the below command either on a domain controller or a member server. Log in to a Domain Controller.…
