As of version 4 NServiceBus has powershell commandlets to install the infrastructure items like MSMQ, MSDTC and RavenDB. This replaces the /installinfrastructure option.
For this to work I installed powershell v3 on my Windows 2008 R2 machine which comes with powershell v2. This can be done by downloading and installing Windows Management Framework 3.0 found on Microsoft TechNet.
But now my deployments fail on Powershell scripts that used to work. The error message:
Error when attempting to execute powershell.exe: The system cannot find the file specified
Is the tentacle looking in the wrong directory?
The solution is to reinstall the tentacle service.
After that everything works as before. The reinstall changes nothing in your configuration but just fixes things that are messed up, like a moved powershell executable. 😉