Creating https bindings for IIS on the command line

iis
I've got a script 'ResetEnvironment' that developers can use to reset their developer environment when something goes screwy, or to create the environment when they are first starting on the project. The script has fully automated new environments, except for adding the HTTPS binding to the website in IIS. This always had to be done manually. Another developer has joined the project and I thought this was a good time to really sort this problem out, so we don't have to manually do this step whenever we reset our environment.