Backup all DHCP servers in Active Directory with PowerShell

Howdy guys,

Today I wanted to go through the PowerShell script I use to backup all the DHCP servers in our Windows domain. The script is a few years old now and I have a feeling there is probably a better way to do it, so look out for an updated script in the future over on my GitHub page. For the moment however this is the one I use.

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