Azure PowerShell Login “Remember Me”

We use “Remember Me” feature quite a lot in our personal computers for quick login. This seamless experience can be achieved in Azure PowerShell as well. When you work with Azure PowerShell it asks for the login. Once you close the PowerShell windows it automatically clears up the context. You may want to keep it…


How to generate the ‘hotfix directories’ from Microsoft Dynamics NAV

Some of you have missed the so-called “hotfix directories” that have not be part of the monthly updates since Cumulative Update 1 for Microsoft Dynamics NAV 2015 removed. So in November 2014, we wrote here on the blog how to use a Windows PowerShell script that gives you the same folder structure. It’s a best…

3

Web App with Vnet Only Access using App Gateway – PowerShell Automation

Azure Web Apps provide a managed environment (PaaS) for hosting web applications. These environments have low operations and management overhead, which makes them a popular choice when moving applications to the cloud. The standard Web App offering is a multi-tenant environment configured for public access (with a publically accessible endpoint). When organizations want to host…


PowerShell for Programmers: How to write a function the right way

Just like I mentioned in my first post, PowerShell supports a lot of stuff that makes it pretty easy to dive in and get stuff running. The following two examples are supported in PowerShell, but not something you should really be doing for any reusable tool set. Putting your parameters (arguments) next to the function…

2

Azure Data Lake Command-line Quickstart using Azure Cloud Shell

Have you been using Azure Data Lake Analytics mainly from the Azure Portal or Visual Studio interfaces? Do you want to use Data Lake Analytics programmatically without installing anything? Do you want to get started with Azure PowerShell, but you’re on a Mac or Linux machine? Here’s how to get started with Azure PowerShell or…


Full Dynamics 365 SDK download with PowerShell

Since v9 version,  D365 CE SDK is only avaible thru Nuget. This require to download each package to store SDK ressources locally. In order to automatize this operation for all packages, I’ve made a simple powhershell that download and organize SDK resources in a local folder. clear; function Provision-Folder { PARAM ( [parameter(Mandatory=$true)]$folderPath ) if(Test-Path…


How to Backup/Restore an Azure App Service using Azure PowerShell

Use these Azure PowerShell cmdlets: New-AzureRmWebAppBackup Restore-AzureRmWebAppBackup Get-AzureRmStorageAccountKey New-AzureStorageContainerSASToken Don’t forget that this is open source, so you can see what these cmdlets are doing on GitHub here. Note that creating and restoring backups are only available in STANDARD and PREMIUM mode. Check out how to do the same using BASH from the console here….


Developing and Debugging Desired State Configuration Scripts for Azure VMs

PowerShell Desired State Configuration (DSC) scripts are a popular way to configure Virtual Machines in Azure. In previous blog posts, I have made extensive use of them to configure SQL Server Always On and Team Foundation Server in Azure among other scenarios. These deployments use a combination of Azure Resource Manager templates and DSC scripts….


PowerShell for Programmers: What happened to my operators?

Operators are one of the most frustrating things about learning PowerShell if you’re coming from just about any other language in existence. Operators like ==, <=, !=. etc. are almost ubiquitous in programming, but none of them are supported in PowerShell. This can lead to some pretty frustrating errors with things like If statements. You…


These MVPs’ PowerShell Module Makes Submitting Community Contributions Faster And Easier!

It’s renewal season! This means MVPs worldwide are busy submitting their community contributions for award consideration this coming July 1st. And this time around, MVPs Francois-Xavier Cat and Emin Atac have supported their peers in a big way. They’ve developed a tool to make the submission process easier and faster: it’s called the MVP PowerShell module. Building off the…