How to Convert a VMWare VMDK to Hyper-V VHD

A customer, who is a VMWare shop, gave me a VMDK file of one of their VMs for development purposes. I don’t have VMWare, but I do have Hyper-V on my dev boxes, so I needed to convert the VMDK virtual disk to a format I could connect to a Hyper-V VM. Microsoft offers a…

25

Help! I Lost a Disk From My Storage Spaces Mirror, How Do I Recover?

I love Server 2012 Storage Spaces because it provides me the opportunity to consolidate a bunch of separate drives into one big contiguous space.  One of the options on storage spaces is mirroring, which I used to create a storage pool using two 1TB drives.  My goal in doing this was to leverage better read performance…

4

IIS SSL: How To Powershell Script Client Cert Required

I recently was asked how to script the IIS SSL setting to require client certificates (see figure below) using Powershell.  We needed to automate the setting since it was part of an Azure deployment.  There are other methods of doing this, but since we were using Powershell for everything else, we preferred to keep a…

3

Script to Perform Azure SQL Premium Failover

** I believe this post is now out of date due to some recent work by the product team, though I have not had the time to try their work yet. Please see this article, it looks to me like there is now a single cmdlet to failover now. My post below was a year before…

2

C# Code to Zip Files and Upload to Azure Storage

If you need code to zip some files into an archive and upload it to Azure blob storage, here is a sample for you. Once the data is in Azure Storage, you could use the WebJobs SDK to trigger your Azure application to work on it (for example, ETL into Azure SQL Database). Create a…

2

Setup Scenarios for SharePoint Foundation 2010: Introduction (3 Scenarios)

I’m posting this for myself as much as for anyone else.  I can’t count the times I needed to plan the install of a program that I’ve installed before, but could not remember what options were available to me during the program’s setup.  Usually these options have to do with scale-out and choosing the wrong…

2

Setup Scenarios for SharePoint Foundation 2010: Server Farm

For overall context and prerequisites, please see the introduction to this series This is the most configurable and complex scenario.  SQL Express is NOT installed.  It is assumed that you have a SQL Server available that is separate from your SharePoint Foundation server.  Setup will create 2 databases on the SQL Server, so the credentials…

2

Automating SQL Service Account/Password Changes

I received a customer request to put together some PowerShell scripts to automate the SQL service account and password changes you can do through the SQL Configuration Manager GUI.  The notes below were written using a SQL 2008R2 machine on Windows Server 2008R2. The reference material I used to start were these links:   http://msdn.microsoft.com/en-us/library/ms162567(v=sql.105).aspx   http://sqlblog.com/blogs/allen_white/archive/2013/02/12/t-sql-tuesday-39-managing-your-sql-server-services-with-powershell.aspx   http://technet.microsoft.com/en-us/library/Microsoft.SqlServer.Management.Smo.Wmi(v=sql.105).aspx Based on what I…

1

I Never Have to Worry About Upgrading the OS on My Azure PaaS Roles, or do I?

You may think that if you’re running a platform as a service application on Azure (PaaS), you never have to worry about the version of the operating system it is running because Microsoft upgrades it for you. This is true within an OS family if you have configured your operating system version for your PaaS…

1

How to Script Disabling CRL Checking With Netsh and Powershell

I ran into a situation where I needed to automate disabling the certificate revocation list (CRL) checking for a certificate. I won’t go into all the details, except to say that the trust chain provider URL was not available to the server with the certificate, so this had to be done as a temporary fix…

1