Windows Server

Creating a Docker artifact for Windows Server in Azure DevTest Labs

Over the past 12 months I have been working with customers on hackfests. We often work with organizations that have highly secured workstations and networks. This proves to be a problem as during the hackfest we need to be using the latest releases of software, often preview releases, and also need full access Microsoft Azure. In a recent scenario we needed to work with Visual Studio 2017 and Windows Server containers. The hackfest participants laptops were running Windows 7, an older version of Visual Studio and had limited outbound internet access. To ensure participants could work with the latest technologies…
Read more

Nano Server Container Host – Culture: en-GB is not supported

I've been working with Docker and containers over the past few weeks. Today I wanted to configure a Nano server image as a container host. The process is well documented here: https://msdn.microsoft.com/en-us/virtualization/windowscontainers/deployment/deployment_nano My host machine is running Windows 10 and I have Windows Server 2016 TP5 Nano running in a Hyper-V VM. When running the command: Install-NanoServerPackage -Name Microsoft-NanoServer-Containers-Package I received the following error: Install-NanoServerPackage : Culture: en-GB is not supported     + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException     + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-NanoServerPackage The reason being my host machine, hence the PowerShell remoting session's culture is set to en-GB…
Read more

PowerShell function to enable WinRM over HTTPS on an Azure Resource Manager VM

You may have seen my previous posts detailing how to enable WinRM over HTTPS on an Azure Resource Manager VM. I have now collated all the different bits of script and creates a single PowerShell function. The function is called Configure-WinRMHTTPS, and is as follows: Once the function is loaded you must login to Azure. Then the function can be executed: My next post will cover submitting the function to the PowerShell Gallery.

Create a Custom Script Extension for an Azure Resource Manager VM using PowerShell

Following on from my previous two posts regarding WinRM over HTTPS the next stage was to automate the steps that needed to be carried out inside the Azure VM. In my original post I had a mix of PowerShell, command prompt and copy and paste! Andy Slowey provided me with the following PowerShell to optimize the WinRM over HTTPS server side configuration: In search of going one better, I decided to find a way to avoid the need to use RDP so that the whole process could be automated. Scripts can be executed within an Azure VM without logging into…
Read more

Create a Network Security Group Rule using PowerShell

My last post, http://www.techdiction.com/2016/02/11/configuring-winrm-over-https-to-enable-powershell-remoting/, covered enabling WinRM over HTTPS on an Azure VM. After forwarding the steps to colleagues it was pointed out that some of the steps could be simplified with some PowerShell. My next couple of posts will cover how different parts of my initial process could be automated, starting with creation of the network security group rule. I want to say thanks to Andy Slowey, Technology Specialist at Microsoft Research who suggested some improvements, carried out some testing and ironed out some of the bugs in my PowerShell. The PowerShell below creates the network security group rule for…
Read more

Microsoft Ignite: The beginning of the end for Windows Server?

When I visit conferences such as Microsoft Ignite I often choose sessions because of the speakers. However I also ensure I attend a number of sessions covering new and updated technology, the things I see as game changers. The technologies I focused on were Azure, in particular Azure Active Directory and a couple of more general Windows Server sessions. Here’s my main takeaways and personal opinion how the development of these technologies will change the look of IT and in particular Windows Server as we know it today. I primarily work with organisations for whom the public cloud is a…
Read more