Creating symbolic links with PowerShell DSC

Background In an Azure Windows VM you automatically get a temporary disk drive mapped to D: (on Linux it’s mapped to /dev/sdb1). It is temporary because the storage is assigned from the local storage on the physical host. So if your VM is re-deployed (due to host updates, host failures, resizing, etc.), the VM is…


Import Database schema in Azure SQL DB from .SQL files programmatically with SQLCMD

Introduction – This blog post illustrates the method through which you can import your database schema and tables into empty Azure SQL DB ( PaaS ) programmatically. Currently azure SQL DB support import from BACPAC file in PowerShell and GUI but not from .SQL files. Assumptions  – Here we assume that you already have .SQL…

0

Run two PowerShell scripts on a same VM through custom script extension at different stage of Deployment in ARM

Introduction – This blog post illustrates the method through which you can run two different PowerShell scripts on a same VM through custom script extension at different stages /time of deployment in ARM. Currently , it is not possible to run two custom script to perform two different tasks on a same VM through custom…

1

Enable .net framework 3.5 on windows server 2012 R2 VM created in Azure Environment

To install SQL Server on Windows Server 2012 R2 VM Server in Azure, .net framework 3.5 should be installed first on the same Server. .net framework 3.5 can be installed using below two steps: 1. DISM /Online /Enable-Feature /FeatureName:NetFx3 /All /LimitAccess /Source:"D:\sxs" 2. Enable the feature in the Add Roles and Features Wizard and specify path…

5

Windows Azure Pack – Implementation Issue – G2 Hardware Profile could not be selected when create VM from sysprep vhdx

Another minor issue I found while stabilizing Windows Azure Pack IaaS environment, it was noted that when try to create standalone virtual machine by selecting a sysprep vhdx from gallery in WAP you could not select any of the available Hardware Profiles configured with Virtual Machine Generation-2, while all Hardware Profiles with Generation-1 can be…

0

Windows Azure Pack – Implementation Issue – Failed to create VM from sysprep vhdx

I went through another very interesting issue while WAP implementation during stabilizing a WAP production environment, although we able to create standalone virtual machine from different templates, in addition we able to create standalone virtual machine from Windows 2008 R2 sysprep vhdx, however the issue that WAP failed to create standalone virtual machine from Windows…

2

Windows Azure Pack – Implementation Issue – ACTIVE (OUT OF SYNC)

Recently I faced an issue while building a complete Windows Azure Pack solution to provide Infrastructure as a Service (IaaS), initially everything was working properly while I was doing testing after each step of WAP deployment, so I able to create three subscriptions, created some virtual machines using the created subscriptions, and able to access…

2

VHD Disk Requirements in Windows Azure Pack (WAP)

There are some prerequisites for VHD Disks that need to be ready before decide to present VHD Disk in WAP to be used why Virtual Machine Provisioning that will save you a lot of troubleshooting time if you verify all as follows: Library Share that hosts the VHD must be added to the list of…

3

ITPro: How to Convert your Surface RT to Surface Pro – Part 3

In Part 1: I’ve explained how to install Remote Desktop services on the server and fix common error that you may face, in Part 2 we finished configuring Remote Desktop Services and publish RemoteApp. This part we will test from client side machine by browsing to the RDWA and will configure Surface with RemoteApp.  …