Examples why every Windows admin should learn PowerShell

Howdy guys,

I have recently become a firm believer that every Windows administrator should learn and use PowerShell, I know many people have known this for years but at least the penny finally dropped for me.

Using PowerShell, either for day to day administration or to automate regular tasks will make things so much faster and easier and give you more time to research/study/work on stuff you actually enjoy. Firstly I want to show you three quick commands that can make working on your local workstation/server faster. These three are very easy and only scratching the surface of what can be done.

Continue reading

Windows domain server disk space audit script

One of the daily checks I perform on our Windows Servers is to ensure they aren’t running low on disk space. There are a few ways this could be done, I could log on to each server individually …. but that would take longer than a full work day to complete. I could use SCOM or a 3rd party monitoring solution but that would cost money and I much prefer to not spend money.

The answer then?

Continue reading

Save money in Azure by shutting down your VMs

Unless you have been living under a rock for the last few years you are probably well aware that Cloud hosted servers or (infrastructure as a service as it is called) is currently all the rage. It does have some great advantages, like not having to maintain any hardware and the ability to increase/decrease resources at the push of a button to name two of the big ones. However, it can be bloody expensive if you don’t manage it correctly.

One way to help lower the cost is to turn off non essential cloud based virtual machines when you aren’t using them. In my case I use my personal Azure subscription as a dev/test environment so I only need the machines powered on when I want to use them.

Continue reading

You should use GitHub

I have only recently discovered GitHub, which I know makes me very late to the game, but I must say it is awesome. In the past when I have created a PowerShell script the only way I could access it on another machine was to save it to OneDrive (or USB which is horrible). With GitHub however I can log in to the web site and access all my scripts from any computer. Now I know what you are thinking….. at the moment that describes exactly what you could do with OneDrive or any other cloud storage, but GitHub has features that sets it apart and makes it amazing! Some of them I have listed below:

Continue reading