Microsoft Azure How to use Azure PowerShell v0.9.x to capture your own custom virtual machine image under Azure Resource Manager You have a v2 Azure Virtual Machine that has been generalized and are ready to capture it using Azure PowerShell v0.9.x? All right, buckle your seat belt and
PowerShell Step by Step: How to capture your own custom virtual machine image under Azure Resource Manager The IaaS v2 resource providers (Microsoft.Compute, Microsoft.Network & Microsoft.Storage) have been around for several months now and you may have wondered how to use your own custom
PowerShell ArtifactNotFound: References to Microsoft.Powershell DSC extension prior to v2.4 are broken and how to fix it If you are experiencing this error: "Extension with publisher 'Microsoft.Powershell', type 'DSC', and type handler version 'x.x' could not be found
PowerShell PowerShell 1.0.0-Preview is here... Switch-AzureMode is dead, at last! Azure PowerShell 1.0.0-preview is now available. It is in this version that the trigger is being pulled on Switch-AzureMode. Pow! Terminated! Gone!! Starting in version 1.0.0
PowerShell How to create a virtual machine from a custom image using ARM and Azure PowerShell v0.9.x You love PowerShell, have a custom VM image (specialized or generalized) and you want to create a new virtual machine from it under Azure Resource Manager API? You're
PowerShell Set-AzureVMCustomScriptExtension: Multiple extensions per handler not supported The introduction of agents and extensions bring a lot of possibilities to virtual machines in Azure. The CustomScript extension let you run one or a set of scripts on a
PowerShell How to get the current Azure subscription information every time you start a new PowerShell session If you're like me and you open many PowerShell windows to work on Azure, this tip is for you. Am I on the right Azure subscription? At work
PowerShell Switch-AzureMode deprecation - Prepare yourself for the migration ahead The signal of the transition between ASM (Azure Service Management) to ARM (Azure Resource Management) APIs have been given not long ago with the recent deprecation of the Switch-AzureMode cmdlet in v0.9.2 of the Azure PowerShell cmdlets. Switch-AzureMode is now deprecated in
PowerShell Switch-AzureMode is now deprecated in release v.0.9.2 Version 0.8.0 introduced an aberration in the world of PowerShell modules in my opinion when they added the Switch-AzureMode cmdlet. The purpose of this cmdlet is to enable a switch between the Azure module and the AzureResourceManager module. In release 0.9.
PowerShell How to get the status of an #Azure Virtual Machine under the v2 compute model in #PowerShell v0.9.x Since version 0.8.0, the Azure PowerShell can target multiple APIs, included in 2 PowerShell modules. Even if the name of some cmdlets are the same, they greatly differ
PowerShell "The remote server returned an error: (400) Bad Request. " when specifying ACL on an #Azure premium storage container updated: May 10th 2015 - Added SAS workaround I played quite a bit with Azure Premium storage accounts recently and I have to say that I welcome with arms wide open this new performance level. Especially for dev/test environments in Azure. Even if
PowerShell Bug: "Your Azure credentials have not been set up or have expired, please run Add-AzureAccount to set up your Azure credentials." I wanted to automate dev/test environments lately in Azure and I faced the following issue... Azure PowerShell cmdlets introduced in version 0.8.15 AzureProfile support: AzureProfile: New cmdlets to manage in-memory profiles * New-AzureProfile: Create a new in-memory Profile * Select-AzureProfile: Select the profile
PowerShell How to quickly retrieve your Azure subscription consumptions/limits (extended details) in PowerShell Everytime that I needed to take a look at where I stand up from the limits of an Azure subscription I do the same thing... Open my web browser, go to the management portal and browse between my storage accounts, cloud services, etc... Here
PowerShell Use CNAME to reach the staging slot in #Azure cloud services with a well known url If you already used the VIP swap functionality in a cloud service, you quickly noticed that for the production slot you have a deterministic url in the format {cloudservicename}.cloudapp.net. For the staging slot, that is something totally different. The problem: random generated
PowerShell List or export to rdp #Azure Cloud Services instances and VM's IP addresses To improve security with our solutions, we use VNets on all our Azure subscriptions and do not expose remote desktop port (3389) publicly. Since internal endpoints are only reachable within a Cloud Service, this reduce the possible surface of attack. Connect to Cloud Services
PowerShell Samedi ALM: Become a great scrum master, TFS 2013, DevOps et DevTest J'aurai le plaisir de présenter une session sur: L’expérience DEVTEST Synopsis: Chaque équipe de développement a besoin d’une infrastructure de développement en place pour concevoir, développer, tester et livrer leur logiciel. Sans cette infrastructure de dev et de test, l’
PowerShell BUG: PowerShell workflow execution hang when using PSObject parameter in a new PowerShell session One upon a time... I was playing with PowerShell workflows to automate stuff in Azure. The scripts were doing what I wanted them to, but the day after I started to have problems when trying to execute them again. After an hour of trials
PowerShell DevOps tool: PSReadLine and how to install it using PowerShell v5.0 and OneGet What is PSReadLine It's someone at work that told me about PSReadLine. I just took me 5 minutes to realize that this module is a life changer for everyone doing serious PowerShell. Here is what is does This module replaces the command
PowerShell PowerShell Azure cmdlets: A parameter cannot be found that matches parameter name 'SubscriptionDataFile' I recently encoutered an error with some of my PowerShell scripts, in some of them, I was using the -SubscriptionDataFile parameter with the following commands: Get-AzureSubscription -SubscriptionName MySubscriptionName -SubscriptionDataFile C:\temp\subfile.xml Remove-AzureSubscription -SubscriptionName MySubscriptionName -SubscriptionDataFile C:\temp\subfile.xml Select-AzureSubscription -SubscriptionName MySubscriptionName
PowerShell Install Web Platform Installer and Azure SDK using PowerShell DSC Did you ever wanted to configure a developer machine in less than two minutes with minimal scripting effort? Say Hi to DSC! DSC (Desired State Configuration) is really fun when