Archive for March, 2017

How to tell if you’re running on Windows Server Core

March 16th, 2017 by and tagged , ,

I have a bunch of scripts I use when I’m building a lab to install “stuff” (that’s the Technical Term we IT Professionals use) that I need to manage and work with a virtual machine. Now, when I build from a SysPrep’d image, that’s not an issue, but if I have to build from an […]

Posted in Application Compatibility, PowerShell, Registry, Windows Server Core | No Comments »

Building a Lab in Hyper-V with PowerShell, Part 5

March 14th, 2017 by

Deploying a DHCP Server Now that you have your forest and domain installed, including¬†DNS, the next step to setting up a lab is the DHCP server. ¬†Start by creating a new VM for the DHCP server, trey-dhcp-03. (For details on how to create a VM with PowerShell, see Building a Lab in Hyper-V Part 2 […]

Posted in Active Directory, Building Labs, DHCP, Hyper-V, PowerShell | No Comments »

PowerShell: Rename an Active Directory User

March 11th, 2017 by and tagged , , ,

This came up at work the other day. Another admin had attempted to rename an AD User account and it had only partially gotten renamed — the SAM Account, Name and Display name were all correct, but the old user name was still showing up in a couple of places, including the login screen. The […]

Posted in Active Directory, PowerShell | 2 Comments »

Building a Lab in Hyper-V with PowerShell, Part 4

March 9th, 2017 by and tagged , , ,

Creating a new forest In the previous sections of this series, I’ve covered how to build VMs using PowerShell, but labs aren’t much good if they don’t actually have any structure. So, let’s create a new forest and domain to manage our labs. I’m going to assume for this post that you’ve gotten started already […]

Posted in Active Directory, Building Labs, DHCP, Networking, PowerShell, Windows Server Core | No Comments »