Category Archives: Windows Server 2012

Project Honolulu

The recent announced project Honolulu – https://blogs.technet.microsoft.com/windowsserver/2017/09/22/project-honolulu-technical-preview-is-now-available-for-download/ – is Microsoft’s new browser based Server management tool. You can install it on Windows 10, Windows Server 1709 and Windows Server 2016, 2012 R2 and 2012 Honolulu is the proposed replacement for … Continue reading

Posted in Windows Server 2012, Windows Server 2012 R2, Windows Server 2016 | Leave a comment

New PowerShell console on Server Core

Server Core is great for reducing the footprint of your VMs – Nano server is smaller but it can’t be a domain controller One draw back to server core is that you only get a single console. If you hang … Continue reading

Posted in Powershell, Windows Server 2012, Windows Server 2012 R2, Windows Server 2016 | Leave a comment

Don’t reinvent the wheel

Way back when I used to take Microsoft certification exams there were often questions of the form “Perform task X with the minimum of administrative effort” Most, if nor all, of the possible answers would be correct but the correct … Continue reading

Posted in Powershell, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2, Windows Server 2016 | 1 Comment

DHCP scope lease time

I wanted to reduce the lease time on a DHCP scope $lt = New-TimeSpan -Hours 12Set-DhcpServerv4Scope -ScopeId 10.10.54.0 -LeaseDuration $lt You could even make it a one liner if you wished Set-DhcpServerv4Scope -ScopeId 10.10.54.0 –LeaseDuration (New-TimeSpan -Hours 12)

Posted in DHCP, Powershell, Windows Server 2012, Windows Server 2012 R2 | Leave a comment

Formatting disks – – the new way

Last time I showed how to format disks using the Win32_Volume CIM class. If you need to perform this activity on a Windows Server 2012/Windows 8 or later system you can use a couple of cmdlets from the Storage module … Continue reading

Posted in Windows 8, Windows 8.1, Windows Server 2012, Windows Server 2012 R2 | Leave a comment

Working with Server Core–renaming the machine

When you create a new Windows server it usually assigns a name of its own. I always prefer using my own names for servers – I usually create the name so it gives some indication of the machine’s purpose. Renaming … Continue reading

Posted in PowerShell V3, PowerShell v4, Windows Server 2012, Windows Server 2012 R2 | Leave a comment

Working with Server Core–setting IP addresses

When you create a new Windows machine it defaults to using DHCP to get an IP address. While that is fine for client machines most people apply a static address to their servers. Up until Windows 2012 you had 2 … Continue reading

Posted in Networking, PowerShell V3, PowerShell v4, Windows Server 2012, Windows Server 2012 R2 | Leave a comment

Working with Server Core–Domain join

Windows Server can be installed in two ways – full fat GUI or Server Core.  The latter is Windows without Windows.  The GUI components are stripped off and you’re just left with the core components.  This results in a smaller … Continue reading

Posted in PowerShell V3, PowerShell v4, Windows Server 2012, Windows Server 2012 R2 | Leave a comment

Checking license activation

I’m building some virtual machines for my demo’s at the upcoming PowerShell summit.  To make the demo’s, and setup, more interesting(?) I decided to use some Server Core instances. The usual setup activities become a bit more interesting with Server … Continue reading

Posted in PowerShell and WMI, PowerShell V3, PowerShell v4, Windows Server 2012, Windows Server 2012 R2 | 2 Comments

VM disk info

A question came into the forum about getting information on the virtual disks associated with particular Hyper-V virtual machines. Is a bit of a digging exercise but this gets the results: Get-VM |foreach {$VMname = $psitem.NameGet-VMHardDiskDrive -VMName $VMname  | foreach … Continue reading

Posted in Hyper-V, Powershell, Windows Server 2012, Windows Server 2012 R2 | Leave a comment