Active Directory · PowerShell

Powershell and Active Directory: Find all organizational unit containers [OU] in Active Directory using Powershell.

  Hi, These days i think i am only and only working with Active Directory.  My Manager give me the task to show him the all Organizational Unit Container , so that we can re-arrange them and remove the OU those are not required any longer. Seriously i don’t know any way to do this.… Continue reading Powershell and Active Directory: Find all organizational unit containers [OU] in Active Directory using Powershell.

Active Directory · PowerShell

Powershell and Active Directory: Powershell Script to create multiple groups in Active Directory and add predefined users in to it.

  HI, Sometime a need arrives when you need to create a few Active Directory groups and add the same members to all the groups. Today i need to create 20 Group and need to add same users to all the groups. To create 20 Group manually and then add users to it one by… Continue reading Powershell and Active Directory: Powershell Script to create multiple groups in Active Directory and add predefined users in to it.

Active Directory · PowerShell

Powershell and Active Directory: Find inactive Computer Accounts in Active Directory using Powershell.

  HI, As you know my IT manager always keep me busy. These days we are cleaning our Active Directory. My Today’s “Target of the Day” is to find all in-active computer accounts. first i start thinking how to do it ? to use some filter in “Active Directory Computer and users” or i need… Continue reading Powershell and Active Directory: Find inactive Computer Accounts in Active Directory using Powershell.

Active Directory · PowerShell

Powershell and Active Directory: Add domain users to a group using powershell.

  Hi, Yesterday i shows you how to create a user group in “Active Directory”. Now lets today add members to that user group using powershell. Lets Start.  Make sure you have “RSAT“ installed on you laptop. Now Import the Active Directory module. Import-Module ActiveDirectory   .. ok, Module is imported,, we are going to use Add-ADGroupMember cmdlet.… Continue reading Powershell and Active Directory: Add domain users to a group using powershell.

Active Directory · PowerShell

Powershell and Active Directory: Create a new group in Active Directory using Powershell.

  Hi, Yesterday one of my users asked me to create a few user group for him. Normally to create a new group i open “DSA.MSC” or “Active Directory users and computers” and create a desired group. This time i thought i would create a new group using PowerShell. To create a new group in… Continue reading Powershell and Active Directory: Create a new group in Active Directory using Powershell.

Active Directory · PowerShell

Powershell and Active Directory: Remove domain user from domain Group using Powershell.

  Hi, Today my IT Manager told me to remove a domain user from a specific group. Normally i used “DSA.MSC” or we can say that “Active Directory users and Computers”, then i find users, go to his user account properties and click on “Member Of” tab and delete the group which the user is… Continue reading Powershell and Active Directory: Remove domain user from domain Group using Powershell.

Active Directory · PowerShell

Powershell and Active Directory: Find the group memberships of a Domain User using PowerShell.

  Hi, I hope that you guys are enjoying our “Powershell and Active Directory” series. Today for some reason i need to find the group membership of a domain user and send the list of all of that detail to my IT Manager. Normally we open “DSA.MSC” or “Active Directory user and Computers” , search… Continue reading Powershell and Active Directory: Find the group memberships of a Domain User using PowerShell.

Active Directory · PowerShell

Powershell and Active Directory: Find Active Directory Replication Servers using Powershell.

  Hi, Today my IT manager give me the task to find and create the list of all “Active Directory Replication Server”. First i was thought to find it using “Active Directory Sites and services” then i thought lets try to find it using PowerShell our favourite tool. i use Get-ADDomain tool cmdlet to find… Continue reading Powershell and Active Directory: Find Active Directory Replication Servers using Powershell.

Active Directory · PowerShell

Powershell and ActiveDirectory:Find the settings of your default Domain Password Policy using Powershell.

  Hi, Sometimes we need to know what is our default domain password policy is set to?. Is Complexity of password is enabled?  what is minimum password length is set to. Normally to check these setting to need to open your Group Policy Console and go to domain setting etc. But in Powershell to see… Continue reading Powershell and ActiveDirectory:Find the settings of your default Domain Password Policy using Powershell.

Active Directory · PowerShell

Powershell and Active Directory : Find all members of the Group using Powershell.

  Hi, Today our target is to find all members of particular group. We know the Group Name and we are going to get the list of all of his members. we are going to use Get-ADGroupMember cmdlet. This command only available if you have RSAT tool installed and loaded the “ActiveDirectory” Module. Lets Start.… Continue reading Powershell and Active Directory : Find all members of the Group using Powershell.