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.

Citrix · PowerShell

Citrix and Powershell Remoting

  A person who never made a mistake never tried anything new”                                                                                                                                                                                -Albert Einstien In this one, I will try to show the good old PowerShell Remoting and Citrix Remoting. Please note that you can only use Citrix Remoting only if you have XenApp 6.5 Servers running in your farm. If you have XenApp… Continue reading Citrix and Powershell Remoting

PowerShell

Sherlock Holmes: Secret of encrypted PowerShell Script files.. Password Protect .PS1 files using VIM.

  Hi, This article is quite off from my regular PowerShell topic, but it’s fun doing it .  So the situation is like that, One of my friend wrote a Powershell script but someone he wants to encrypt or password protected so that on one else {his fellow colleagues who just believes in COPYING &… Continue reading Sherlock Holmes: Secret of encrypted PowerShell Script files.. Password Protect .PS1 files using VIM.