This specific requirement came to me when there was a file server migration.having thousands of shared paths with different sets of permissions was an issue before we moved into DFS and this little script saved my time.
Author Archives: iamfazul
Export all users in AD
This could be very helpful for reports, where management loves reports 😛
Get All users in a specific OU
This comes quite handy in an organization where OU structure is properly maintainedor even in a messy organization if you are trying to sort it.
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.
Get Machines Name starting/ending with
This Scenario is mostly common when it comes to quick reports on Datacenter,department,floor,team etc.. Most of the organizations have naming convention to identify machine by the name with a specific set of letter in the name For instance: MI-PDC-L2-R1-MGT01 this is a server name. To make it clear let me breakdownMI = MelbournePDC = PrimaryContinue reading “Get Machines Name starting/ending with”
Check if a user/s is enabled or disable
this task is very straight forward. The script below achieves this.
Check a Machine is installed with an Update
Everyone loves quick wins, The script below will tell you if a machine or more than one is being installed with a specific update.
Check if a device is up through IP address
Checking if a machine is up can be a task similar to eating a cake. Only if other teams decide to send you a list of IP address and ask you to check if the IP is pingable. The script below will come hand for this purpose.
Check if an update has been installed
Windows update! – Patching Tuesday! The 2 words any system admin would not love to hear 😛 the process of installing the updates is no the hardest job. it’s that random compliance check from the Security team which make you run like headless chickens. Below script will save the time by getting the Machines inContinue reading “Check if an update has been installed”
Check C Drive Space
In a co-operate environment checking Drive space is challenging job when it comes to patching. like i said in the previous blog checking one machine could be a easy job but checking in a bulk could be challenging. Majority of the patches that gets failed – primary reason could be not enough space in theContinue reading “Check C Drive Space”
