Tag: PowerShell

Cannot Bind Parameter ‘ForegroundColor’ Error When Creating Nano Server Image

You get the following error when running New-NanoServerImage in PowerShell ISE to create a new Windows Server 2016 (WS2016) Nano Server image: Write-W2VError : Cannot bind parameter ‘ForegroundColor’. Cannot convert the “#FFFF0000” value of type “System.Windows.Media.Color” to type “System.ConsoleColor”. The fix (during TP5) is to not use PowerShell ISE. Use an elevated PowerShell prompt instead.…

Read the full article

Russinovich on Hyper-V Containers

We’ve known since Ignite 2015 that Microsoft was going to have two kinds of containers in Windows Server 2016 (WS2016): Windows Server Containers: Providing OS and resource virtualization and isolation. Hyper-V Containers: The hypervisor adds security isolation to machine & resource isolation. Beyond that general description, we knew almost nothing about Hyper-V Containers, other than…

Read the full article

Windows Server Containers – “Enter-PSSession : The term ‘Measure-Object’ Is Not Recognized”

If you’ve been working with Windows Server Containers in Windows Server 2016 (WS2016) Technical Preview 3 (TPv3) then you’ve probably experienced something like this: You create a new container Then start the container And try to create a PowerShell session into the container using Enter-PSSession And then there’s lots of red on the screen: enter-pssession…

Read the full article