On my last blog i mentioned about the Menu and now its time for a message box.. Tell me who wouldn’t love to see a message box when you do something successfully, give you a proof of completion also a satisfaction in a success scenario or opens you eye when you face an error.. AnythingContinue reading “Display Message box in powershell”
Author Archives: iamfazul
Creating a Menu in Powershell
Hello! Menu? what you use can that be? Well to be honest there could be a lot use if you know how to use it like you could have a massive set of functions on your script which is not in order and menu comes in place to put beautifully presentable and easy to navigateContinue reading “Creating a Menu in Powershell”
Start Service on a Remote server
Services are mostly to go halt time to time which makes some function or application to cause issue or not start and when you know it is most likely by a service is stopped the below script can you help sort it.
Show all the Running Services
Checking the services on a machine is a easy job only if you want to check more than 1 machine. The script below will help you on this. to make it pretty i made the Running services in Green and else in Red
Get Boot Time
Getting boot time of the machine could come in handy on most of the situation. I normally get this request from teams saying “Hey can you get me the boot time of the machine” – i go like you know what use the script below. They go like you are a Star 😉
Restart a Machine via Powershell
As part of the System Admin life you would have used this statement at least once.Its “Have you restarted the computer?” LOL to help with that the script below.
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”
Multi Copy
When you know scripting you also gain another extraordinary power which is laziness LOL. I am one of those lazy Admin’s who know Powershell and try to do everything using Powershell. The Multi Copy script basically i got a set of files and folder location that need moving to different machines, servers and NAS. iContinue reading “Multi Copy”
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.
