Skip to content

ShellGeek

  • Home
  • PowerShell
  • PowerShell Tips
  • About Us
  • Contact

Active Directory

PowerShell – Get AD Group Members and list of Users

by shelladmin

PowerShell Get-AdGroupMember is used to get members from the active directory. You can get ad group members by specifying the active directory group name. The …

Read more

Find Get-AdUser Password Expiration Date

by shelladmin

The Get-ADUser cmdlet retrieves one or more active directory user information. It has msDS-UserPasswordExpiryTimeComputed attribute that contains the ad user password expiration date. Active Directory …

Read more

Get-AdUser SamAccountName in Active Directory

by shelladmin

Get-AdUser SamAccountName attribute is a user logon name in the previous version of the Windows system. SamAccountName logon name has a maximum 20-character length limit …

Read more

Get-AdUser PwdLastSet – Get Aduser last password change

by shelladmin

PwdLastSet attribute stores information about the last password change. In the active directory, you can check the last password change in Active Directory for the …

Read more

lastlogon vs lastLogonTimestamp vs lastLogondate

by shelladmin

The main difference between lastlogon and lastLogonTimeStamp is that lastlogon is updated on the Domain Controller after the user interactive logon while lastLogonTimeStamp is replicated …

Read more

Get AdGroup Managed by User in Active Directory

by shelladmin

PowerShell Get-AdGroup gets one or multiple active directory groups based on search criteria. Get-AdGroup gets information about the ad group name, description, adgroup managed by …

Read more

Add-AdGroupMember – Add Users to AD Groups

by shelladmin

In an Active Directory, it’s very important to add user accounts to the active directory and manage groups effectively. Add-AdGroupMember cmdlet in PowerShell adds users …

Read more

Enable-AdAccount in Active Directory using PowerShell

by shelladmin

The PowerShell Enable-AdAccount cmdlet in Active Directory enables active directory user account, ADComputer account, or service account. Use the Get-AdUser cmdlet to get the aduser …

Read more

Remove-AdComputer in Active Directory

by shelladmin

Remove-AdComputer cmdlet in PowerShell removes an Active Directory computer. The Identity parameter specifies the ad computer to remove using GUID, Distinguished Name, Security Identifier, or …

Read more

Get-AdUser in Multi Domain Forest

by shelladmin

In an organization where it has multiple domains and child domains configured in an active directory, it becomes very difficult to list all users in …

Read more

Older posts
Page1 Page2 … Page9 Next →

Recent Posts

  • Run Batch File in PowerShell
  • PowerShell – Enable-PSRemoting for Remote Commands
  • Install Software with PowerShell Script Remotely

Footer

  • Home
  • About Us
  • Contact
  • Privacy Policy
  • Terms and Conditions
Copyright © 2023 ShellGeek All rights reserved