Author Archive

Charlie Russel

A chemist by education, an electrician by trade, a UNIX sysadmin and Oracle DBA because he raised his hand when he should have known better, an IT Director and consultant by default, and a writer by choice, Charlie is the author of more than 2 dozen computer books on operating systems and enterprise environments, including Microsoft Windows Server 2008 Administrator's Companion(MS Press), Microsoft Windows Server 2003 Administrator's Companion(MS Press), Windows Small Business Server 2011 Administrator's Companion(MS Press), Windows Essential Business Server 2008(MS Press), Introducing Windows Server 2008 R2(MS Press), Microsoft Windows XP Resource Kit, 3rd Edition(MS Press), and Oracle DBA Scripting Quick Reference(Prentice-Hall PTR). He has also written numerous white papers and case studies on Microsoft.com, most recently around Windows HPC Server, and RDS Licensing.

Getting the Free Disk Space of Remote Computers Revisited

April 18th, 2017 by and tagged , , , , , , , , ,

Several years ago, I wrote a fairly simplistic script to get the free disk space of remote computers. It wasn’t all that sophisticated, but it got the job that I needed done, so I shared it here on my blog, since I thought others might find it useful. Which, based on the number of hits here, […]

Posted in Annoyances, Network Administration, PowerShell, Windows Server, WMI | 4 Comments »

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 »

Nested Hyper-V Networking

February 19th, 2017 by and tagged , , , , ,

As I was trying to configure a new lab setup that takes advantage of nested Hyper-V so that I can build a lab to do Hyper-V host clustering, I ran into a problem with networking. Everything looked good on the “host1” virtual machine, but the domain controller I created for TreyResearch.net that runs as a […]

Posted in Building Labs, Hyper-V, Networking, PowerShell, Windows 10, Windows Server 2016 | No Comments »

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

February 17th, 2017 by

Creating VMs with New-myVM.ps1 – Part 2 So, as I showed in the previous post, I’ve got my new VM built, but it’s not really ready for use yet. For one thing, it needs a DVD attached and the boot order set, plus I want to add a second NIC, and change the number of […]

Posted in Building Labs, Hyper-V, PowerShell, Windows 10, Windows Server, Windows Server 2016 | No Comments »

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

February 16th, 2017 by and tagged , , ,

Creating VMs with New-myVM.ps1 – Part 1 As we saw in Part 1 of this series, I build my labs almost entirely with Windows PowerShell scripts. In that first post, I showed how to set the MAC address range on a Hyper-V host. I use this MAC address range to explicitly set my lab VMs […]

Posted in Building Labs, Hyper-V, PowerShell, Windows 10, Windows Server, Windows Server 2016 | No Comments »

Configuring Windows Server 2016 core as a DHCP Server with PowerShell

February 15th, 2017 by and tagged , , , , ,

As I mentioned last time, I’m setting up a new domain controller and DHCP server for my internal domain on Windows Server 2016 Core, and I’m exclusively using PowerShell to do it. For both the DHCP Server and AD DS roles, we need to configure a fixed IP address on the server, so let’s do […]

Posted in Active Directory, DHCP, Hyper-V, Networking, PowerShell, Windows Server 2016, Windows Server Core | No Comments »

Configuring Windows Server 2016 Core with and for PowerShell

February 14th, 2017 by and tagged , ,

I know I owe you more on creating a lab with PowerShell, and I’ll get to that in a few days. But having just set up a new domain controller running Server 2016 Core, I thought I’d include a couple of tricks I worked through to make your life a little easier if you choose […]

Posted in $Profile, Console, Hyper-V, PowerShell, Windows Server Core | 5 Comments »

« Previous Entries Next Entries »