Hello! Once again another PowerShell Code for you to automate quite common task which is done daily on a support engineer perspective. I use this script pretty much everyday at some point its much easier when you do it via PowerShell, the reason i say this you will have to login to the Citrix CloudContinue reading “Terminate Citrix Session/s via PowerShell”
Category Archives: User Management
Remove User profiles from Servers/Clients
Hello again! Let me tell you something about the user profiles and how annoying can it be once its piled up in a server, where you have to loose Server or Clients space for staffs who basically left the organization. I had to face the same situation in my organization where majority of the serversContinue reading “Remove User profiles from Servers/Clients”
Swap users from one AD group to another
AD group swaps are very common in large organization. Below script will achieve it.
Remove AD group from Leaver
Leavers! The most ignored process by Support staff the script below will do the following:Remove AD groups if the user. One of the reason this script helped me when users are added to an AD group which allocates Office 365 License. When the user leaves the organization if the ad group that allocates the licenseContinue reading “Remove AD group from Leaver”
Extract Members from AD Group
One of my friend use to say there is more than one way to skin a cat. I am a strong believer of this saying likewise i have created few scripts to achieve it.
Local Machine Profile and Registry Remove
HAHA.. this one seems to very interesting to me. One of the engineer asked me write this for him, he has to remove unwanted profiles from servers again talking about 500+ servers I wrote the below script giving him the ability to put in account that needs to be left alone and anything else canContinue reading “Local Machine Profile and Registry Remove”
Moving User/s to an OU
This is quite fun, when i say fun in the system admin life 😛When ever you move someone out of an OU, there is an 90% chance that they could get different set of Group Policy as OU and Group policy are together. The script below will be help you in moving.
Export all users in AD
This could be very helpful for reports, where management loves reports 😛
Get All Users Excluding an OU
Getting all the user in AD is quite easy but excluding an OU could be bit of a challenging. The below script will be able to help you achieve you this.