Chocolatey on Azure provision

A recent update on the Windows Azure platform enables you to run a custom powershell script when creating a new Virtual Machine. It can be configured on the last step of the Wizard.

custom.script.vm.provision

This is where chocolatey can do it’s magic by installing software I need. No more creating sysprep images :-).

#install chocolatey
iex ((new-object net.webclient)
   .DownloadString("http://chocolatey.org/install.ps1"))
#install nservicebus
cinst nservicebus.dtc.install
cinst nservicebus.msmq.install
cinst nservicebus.ravendb.install
cinst ServiceControl.install
cinst ServiceInsight.install
cinst ServicePulse.install
#done, now your environment is ready

About erictummers

Working in a DevOps team is the best thing that happened to me. I like challenges and sharing the solutions with others. On my blog I’ll mostly post about my work, but expect an occasional home project, productivity tip and tooling review.
This entry was posted in Tooling and tagged , , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.