With Our Powers Combined we are captain FSRM I’ve been recently working on combining my three File Server Resource Manager DSC Resources into a single module. This made more sense and will make it a lot easier to maintain.
Integration Testing At the same time as combining these resource, I also added integration tests (based on the ones that were added recently to the Microsoft xNetworking resource). This identified a number of bugs that had previously been overlooked.
I’ve just spent the last few hours looking into how I can get the BIOS GUID from a Hyper-V VM from inside the Host OS. I needed this so I could use it to pre-stage devices in Windows Deployment Services. I could have used the MAC address of course, but I decided I wanted to use the BIOS GUID instead.
So after a fair bit of hunting all I could turn up was an older VBS script.
Just a quick one for Friday. After downloading the new Windows Server 2016 TP4 ISO, I quickly fired up my New-NanoServerVHD script to see how it went. Unfortunately I ran straight into a bug in the Convert-WindowsImage script. The bug in this script only occurs when the WIM file being converted only contains a single image - which as of TP4 includes the NanoServer.wim.
If you try and run this the New-NanoServerVHD script using the unfixed version of the Convert-WindowsImage script and TP4, you’ll run into the following error message:
After yesterday’s exciting release of Visual Studio Code with PowerShell support, today we get Windows Server 2016 Technical Preview 4.
I’m diving straight into the Nano Server to see what has changed and if Containers is working.
I feel like my birthday has come early: Microsoft has added PowerShell language support in Visual Studio Code:
I mainly use PowerShell ISE with ISE Steroids for most of my coding, but I find when I’m needing to switch between working on multiple files of different types Visual Studio Code is so much faster and slicker. Visual Studio 2015 with PoSH tools would be the ideal way to go, but the PoSH extension is quite slow with any files larger than 20KB.