Group Policies · PowerShell

Enable Group Policy Powershell Module for Windows 7 domain client Computer.

  Hi, today i was planning to do few things with my “Group Policies”, as usual i prefer to do it using PowerShell. As you all know that to use Group Policy related stuff we need to import its module first. In windows 7 the group policy module in not enabled by default. We need… Continue reading Enable Group Policy Powershell Module for Windows 7 domain client Computer.

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: 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.

PowerShell

List All Cmdlets of a Specific Module in Powershell.

  Hi, sometime you need to know only some or all specific cmdlets for  a module. For example you just imported an “Active Directory” Module and want to know which all cmdlets imported by it. Let’s import an module first. Import-Module ActiveDirectory   ok, Module is imported,, now run the below command to list all cmdlets… Continue reading List All Cmdlets of a Specific Module in Powershell.