4 pages tagged with "powershell"

AWS Powershell: “A parameter cannot be found that matches parameter name 'Credentials'.”

July 08, 2015 - 184 words - 1 mins
I spent ages debugging this one a few months ago, and just hit it again, so I thought I’d share to save others some time. If you have an older AWS powershell script, you may hit this error when running AWS Powershell cmdlets, particularly if using a cross-account role - e.g.: $aws_role = Use-STSRole… read more

Set-ExecutionPolicy is architecture-specific

August 22, 2013 - 100 words - 1 mins
I was repeatedly getting “execution of scripts is disabled on this system” while attempting to run Invoke-Command on a remote machine, even after running Set-ExecutionPolicy RemoteSigned on that box. Eventually the penny dropped – I’d been running 32 bit Powershell interactively, whereas Invoke-Comm… read more

Deploying to Azure from psake - “No snap-ins have been registered”

June 21, 2011 - 158 words - 1 mins
Cloud hosting really lends itself to continuous deployment approaches - scripted provisioning models and blue/green deployment are well catered for. In the case of Microsoft Azure, the Powershell Cmdlets integrate easily with our psake build scripts. Unfortunately, the cmdlets are 64 bit only and mo… read more

vsdbcmd deployment to SQL Azure

March 31, 2011 - 266 words - 2 mins
Unless you're targeting a data-tier application, you can’t generate a create script from a .dbproj (datadude) database project in Visual Studio that’s compatible with SQL Azure. This is a big pain if you’re attempting to implement a continuous deployment/continuous delivery approach. Following is a … read more