Of-course Powershell is OOP(Object oriented programming Tool). Which means any developer who know Object oriented Programming would know how to utilize it, that doesn’t mean who are not developers cannot learn Powershell. it’s bit annoying to understand the concepts of the OOP to take maximum use of it. Classes aka Blueprints Talking of concept ofContinue reading “Object Oriented Programming Classes and Objects In PowerShell”
Category Archives: Powershell
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”
Scraping Amazon.co.uk using Powershell
Helloo! I was asked by one of my colleague whether i can create a Web scrape tool in Powershell like its in Python using BeautifulSoup. I told him you don’t be needing any more extra modules to be added into to Powershell to scrape a website for data. Obviously i use Python as much asContinue reading “Scraping Amazon.co.uk using Powershell”
Password Expire Report – Powershell
Hello! welcome to another interesting task i was working on couple of days ago. To give a bit of background of what exactly i was doing. Part of My Domain to Domain Migration (AKA ADMT Migration) project i was asked to generate a report which basically pulls all of users from the source domain andContinue reading “Password Expire Report – Powershell”
Get/Set Out of Office
Getting/Setting OOO (Out of Office) emails are mostly happening with Leavers who left the company on short notice or being kicked out of the Company. Where the account needs to be receiving emails but the other users should be informed about the User that has left the organization and future mails to the mentioned email.Continue reading “Get/Set Out of Office”
Adding Credentials to Powershell Script
Most of the script will require you to add the credentials to it to run with elevated privileges, The below is one of the way you can add credentials to the script. You can now use the Variable for the scripts you use.
Find Disabled users in a AD group
AD Group housekeeping is great way to maintain the access and also to clean up license if you are provisioning users license via AD group, There is a quick and easy way. Below script will help you
Swap users from one AD group to another
AD group swaps are very common in large organization. Below script will achieve it.
Nested Group Checker
This was very interest concept that i worked on for a project. Nested group checker basically will identify the AD groups that have nested groups and will standard groups. Hope the below script helps.
Generate Random Passwords
The below was something that was created out of boredom to be honest.. Hope the script help for any purpose you see fit.