Powershell: Create Storage account in Azure

In The previous article we discussed about Automation: Powershell Script to Copy file from a local folder to an Azure blob storage container

<#
.SYNOPSIS
    Create storage account in Azure Environment

.DESCRIPTION

    This script creates a new storage account in a specific subscription

Continue reading “Powershell: Create Storage account in Azure”

Powershell Script to Copy file to Azure Blob

In The previous article we discussed about Automation: Powershell Script  to Create Web App in Microsoft Azure

<#
.SYNOPSIS
Copies file from a local folder to an Azure blob storage container.

.DESCRIPTION
Copies file from a local folder to a named Azure storage blob container. The storage container is assumed to already exist

Continue reading “Powershell Script to Copy file to Azure Blob”

Powershell: Create Web App in Microsoft Azure

In The previous article we discussed about Automation: Powershell Script to Create WebJob in Microsoft Azure

<#
.SYNOPSIS
Create Web App in Azure Environment

.DESCRIPTION
This script creates a new Web app in the Azure Environment

Continue reading “Powershell: Create Web App in Microsoft Azure”

Powershell: Create WebJob in Microsoft Azure

In The previous article we discussed about Automation: Powershell Script to create SQL Server in Microsoft Azure

<#
.SYNOPSIS
Create Web App Job in Azure Environment

.DESCRIPTION
This script creates a new Web app Job in the Azure Environment

Continue reading “Powershell: Create WebJob in Microsoft Azure”

Powershell: Create SQL Server in Microsoft Azure

In The previous article we discussed about Automation: Powershell Script to Import database in Microsoft Azure

 <#

.SYNOPSIS
To create SQL Server in Azure Environment

.DESCRIPTION
This script creates a new SQL Server in the Azure Environment

Continue reading “Powershell: Create SQL Server in Microsoft Azure”

Powershell: Import database in Microsoft Azure

In The previous article we discussed about Powershell Script to add Firewall Rule in SQL Server in Microsoft Azure

 <#

.SYNOPSIS
Import database into exsting SQL Server in Azure Environment

.DESCRIPTION
This script creates a new database from the backpac file available in the Storage Container

Continue reading “Powershell: Import database in Microsoft Azure”

Powershell: Add Firewall Rule for SQL in Azure

In The previous article we discussed about How to add a co-administrator in Microsoft Azure Management Portal

<#
.SYNOPSIS
    Add Firewall Rule in SQL Server in Azure Environment to access it remotely

.DESCRIPTION

    This script adds a Firewal Rule in the existing SQL Server so SQL Server is accessed from SQL Management Studio

Continue reading “Powershell: Add Firewall Rule for SQL in Azure”

Microsoft Azure: Error while Add-AzureAccount

In The previous article we discussed about PowerShell Tips & Tricks-Print full exception/stacktrace in PowerShell?

After the installation of Azure Powershell, if we get an Error occurred while sending the Request – CloseError – HttpRequestException while executing very first command Add-AzureAccount then how to solve it?

Continue reading “Microsoft Azure: Error while Add-AzureAccount”

PowerShell Tips & Tricks-Full stacktrace

In The previous article we discussed about Why to use Microsoft Azure Powershell?

 While using powershell, there is likely chance that we may get errors due to different reasons. Powershell gives simple error messages but sometimes it is not enough to understand the root cause and hence we need to get full exception/stacktrace.