Creates a Virtual Machine (small) configured with two data disks. After the Virtual Machine is provisioned and running, the data disks are then formatted and drive letters assigned. User is prompted for credentials to use to provision the new Virtual Machine.
The scripts allow a MSDN subscriber to quickly create a dev-test VM on Azure running Visual Studio 2013 Pro|Premium|Ultimate, SQL Server 2012 Developer edition SP1 and SharePoint 2013 trial.
This is an updated version of the Windows PowerShell deployment scripts generated in Visual Studio. This script demonstrates how to use Azure PowerShell Cmdlets to create Azure resources and deploy Azure application using the newly introduced Azure Resource Manager template.
Deploy a specified number of Virtual Machines based on a given image name. The Virtual Machines are placed in the same availability set and load balanced on a given endpoint name.
Creates two virtual machines; a front-end Windows Server and a back-end SQL server. The front-end server is configured with the Web Platform Installer, which is then used to install an application published on the Web Platform Installer catalog.
Creates two virtual machines; a front-end Windows Server and a back-end MongoDB server. The front-end server is configured with the Web Platform Installer, which is then used to install IIS.
Adds a VM to the active subscription, based on SQL Server 2012 on Windows Server 2012 gallery image. Adds four disks to the VM and stripes them into two pools. Formats them for use, creates a database, putting the data files on one volume and the log files on the other.
Creates a new Virtual Machine image based on a given stock image. Installs an application from the Web Platform Installer. The images is saved to the user's subscription to be used for provisioning future Virtual Machines.
Creates four Windows Server 2012 Virtual Machines across two separate cloud services and adds them to the same virtual network. If the virtual network indicated does not exist then it is created.
Demonstrates starting a single Virtual Machine or set of Virtual Machines (using a wildcard pattern) within a Cloud Service. It does this by creating scheduled tasks to start the Virtual Machine(s) on a schedule at the time specified.
Demonstrates stopping a single Virtual Machine or set of Virtual Machines (using a wildcard pattern) within a Cloud Service. It does this by creating scheduled tasks to stop the Virtual Machine(s) on a schedule at the time specified.
Creates a Windows Azure Website and links to a SQL Azure DB and a storage account. If the storage account specified does not exist, the storage account will be created.
Demonstrates how the settings of a web site can be set remotely using PowerShell. Assumes a Facebook application that has been deployed, and changes its settings for AppId and AppSecret.
Downloads IIS logs from an Azure Website and searches the log for any HTTP 400 and above status codes. If Http logging is not enabled on the website, then it will enable logging if the EnableHttpLogging switch is specified.
This sample script demonstrates how to deploy a .NET corporate site into a Cloud Service with SQL Database and Storage Account. During the process, it will create a Storage Account, SQL Database, and Cloud Service and change the configuration file (*.cscfg) of the project.
Copies files (in parallel) from a local folder to a named Azure storage blob container. The copy operation can optionally recurse the local folder using the -Recurse switch. The storage container is assumed to already exist unless the -CreateContainer switch is provided.
Copies blobs from a single storage container or all storage containers to a local directory. If the blobs have "/" in the name to represent a directory hierarchy, then the script will recreate that directory hierarchy under the local destination path specified.
Removes blobs from blob storage containers. The script will enumerate through all containers and remove the blobs, maintaining the existence of the container. If you want to remove the containers, then you can include the RemoveContainer switch.
Enumerates all blobs in either one container or one storage account and sums up all costs associated. This includes all block and page blobs, all metadata on either blobs or containers.
Sets storage logging and metrics settings on storage accounts in the current subscription. Settings can be enable or disabled. **Note:** This script requires an Azure Storage Account to run. The storage account can be specified by setting the subscription configuration.
Starts an asynchronous copy of VHD's to a different storage account. The storage account can be in the current subscription or in a different subscription.
Creates a SQL Server with a firewall rule in a sub region. Once server is created then create a database on the server.
Script will walk you through checking if your database has been granted Permium database quota. Followed by how to upgrade reservations on a database to premium. **Note:** Premium database quota must be requested for your server via the Windows Azure Management Portal
Script will walk you through changing size and type of a database along with setting and removing firewall rules
This script creates an SQL Server AlwaysOn availability group on Windows Azure VMs end-to-end, beginning with the creation of the Windows Azure VMs and ends with a working availability group listener.
Enumeration of instances/databases
This topic provides sample scripts that can be used to automate backups to Windows Azure Blob storage service using PowerShell cmdlets.
This topic and the supporting Windows PowerShell Scripts walk you through creating a Windows Azure Virtual Machine that contains Microsoft SQL Server Business Intelligence features and Microsoft SharePoint. The procedures and scripts assume that you have a Windows Azure subscription, installation files for SQL Server 2012, and installation files for SharePoint 2010. The document includes a procedure to create virtual hard disks (.VHDs) to contain your installation files.
This topic describes and walks you through the deployment and configuration of a SQL Server Reporting Services native mode report server in a Windows Azure Virtual Machine. The steps in this document use a combination of manual steps to create the virtual machine and a Windows PowerShell script to configure Reporting Services.
Creates a HDInsight cluster configured with one storage account and default metastores. If storage account or container are not specified they are created automatically under the same name as the one provided for cluster.
This script demonstrates how to add a VM and script it to become a domain controller for a new forest, and add a member server to the domain, by adding them on the same VNet.
This script allows a user to create a *Data Warehousing* optimized VM on Azure running SQL Server 2012 or SQL Server 2014, script will also attach empty disks to the VM to be used for Sql server data and log files.