Persisting Azure PowerShell logins

With the pre-1.0 Azure PowerShell cmdlets, my Azure login credentials were cached. Since making the switch to the 1.x release I’ve found that I need to execute Login-AzureRmAccount each new PowerShell session. This has been bugging me for a while and today I finally foudnm the time to figure out a way round it. I’m…

1

Working with docker output in PowerShell

Just a quick post today 🙂 These days I find myself working in both PowerShell and bash, and when I’m in PowerShell, I like to have objects that I can work with. With the Azure CLI I can use the –json switch and then use something like jq to process the output, or in PowerShell…

0

Bringing Hump Completion to PowerShell

It can be fun when ideas from different areas combine! I’ve spent quite a lot of time recently working with Azure Resource Manager templates, and the associated PowerShell cmdlets. There are a lot of these cmdlets and the team has done a great job of giving them logical and descriptive names. The result is that…

0

Easily checking Azure Resource Manager deployment status from bash with the Azure CLI

If you’re working with Azure Resource Manager templates on OSX/Linux then there’s a strong probability that you’re using the Azure CLI to deploy them. The CLI works on Windows as well, but if you prefer a PowerShell version of this post then see http://blogs.msdn.com/b/stuartleeks/archive/2015/11/25/easily-checking-azure-resource-manager-deployment-status-from-powershell.aspx. I’ve had a couple of mini-scripts that I’ve found myself using…

0

Easily checking Azure Resource Manager deployment status from PowerShell

If you’re working with Azure Resource Manager templates on Windows then there’s a strong possibility that you’re using the Azure PowerShell cmdlets to deploy them. Note that if you’re on OSX/Linux you can use the Azure CLI. Oh, and it works on Windows as well! For an Azure CLI version of this post see http://blogs.msdn.com/b/stuartleeks/archive/2015/11/26/easily-checking-azure-resource-manager-deployment-status-from-bash-with-the-azure-cli.aspx…

0

Configuration with Environment Variables – With Visual Studio Docker Tools

I posted recently about using environment variables to configuration. I like to use this approach with Docker, too! Visual Studio has some great tool support (in preview) for working with Docker. With the release of Windows Server 2016 Technical Preview 3, there is now a preview of Windows Server Containers. ScottGu has a great post…

2

Posh-AzureCli: Command completion for Azure Cross Platform Command Line in PowerShell

  tl;dr This post discusses adding tab completion to Azure xplat CLI. If you just want to install it, see the notes below. UPDATE 17th December 2015 – Install from PowerShell Gallery Background If you’re working with Azure then you can perform operations via the web portal, use the PowerShell cmdlets, or use the cross…

0

Azure API Apps – Configuration with Environment Variables

I’ve been digging into API Apps (and Logic Apps) in Azure App Service recently. If you’ve not looked at API Apps, they build on top of Web Apps (formerly known as Web Sites) but add a few extra bits of goodness, one example is that they are added as API Connectors in your subscription and…

0

Finding files in the PATH with PowerShell

Just a quick post this time! I frequently find myself wanting to know where a command in my PATH is. Earlier today it was to work out why DNVM beta4 was being loaded despite installing DNVM beta6. (It was the installation from Visual Studio!). For this I wanted to find out which folder in the…

0

PowerShell ISE Theme – Visual Studio Code style

I’ve been spending quite a bit of time in Visual Studio Code recently, and even doing some PowerShell work in it with posh-dnvm. For posh-dnvm it has been working really nicely: whilst Code doesn’t have PowerShell intellisense, the custom task runner has given me a great workflow with Pester for testing. Right now I find…

4