Archive for

PowerShell scripts to create one or more Hyper-V Virtual Servers

In this post you’ll find a couple of PowerShell scripts that I wrote to create Hyper-V servers with system resources specified when you run the scripts. The scripts, CreateSingleServer.ps1 is the one to use to create a single server and CreateMultipleServers.ps1 is used to create multiple servers and don’t require any external PowerShell modules apart … Continue reading

Windows Server: The trust relationship between this workstation and the primary domain failed

This can be a bit of an issue when it happens on a server joined to an Active Directory domain. I recently restored a Windows Server 2008 R2 virtual server to an earlier version using a snapshot in Hyper-V, restarted the machine and when trying to log in using domain credentials I got the error … Continue reading