Active Directory · PowerShell

Powershell and Active Directory: Powershell based GUI Application to create Group in AD.

Hi, GUI are for dumbs and for lazy likes me or for beginners. Few days ago a new IT guy joined our company, he is kind of fresher. I first which we gave him is to create few Groups in active directory. He is new so i don’t want him to sit on any live… Continue reading Powershell and Active Directory: Powershell based GUI Application to create Group in AD.

Active Directory · PowerShell

Powershell and Active Directory: Maintains the Leavers of your Company using powershell GUI based Application.

  HI, Like every IT Administrator we have to create user accounts when someone joined the company and also delete and reset the account when someone leaves. From past few days i was trying to write a GUI Application based on powershell. My Main objective was. Reset Leaving Users Password. Remove him from all groups.… Continue reading Powershell and Active Directory: Maintains the Leavers of your Company using powershell GUI based Application.

Active Directory · PowerShell

Powershell and Active Directory: Find Active Directory users in a particular Organizational Unit whose Script Path is not set or blank using Powershell.

  Hi, If we are using “Active Directory” then one this is sure that 98% we are using some login scripts. Sometime while creating users we forget to mentioned to specify the login script in account. My task of today is to find all users accounts those have no login script defined in their accounts.… Continue reading Powershell and Active Directory: Find Active Directory users in a particular Organizational Unit whose Script Path is not set or blank using Powershell.

Active Directory · PowerShell

Powershell and Active Directory: Find all Active Directory users whose CITY property field in blank.

  Hi, Me again , yes yes i know , now you are going to ask me ,,”Aman” what is your task for the day”,, ok ok telling you..Today my manager told me to find all  active directory users which don’t have the CITY field set or those users whose CITY field is blank in… Continue reading Powershell and Active Directory: Find all Active Directory users whose CITY property field in blank.

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.