This tag is associated with 5 posts

Azure: Upload and Download VHDs

With Microsoft Azure Powershell you have the ability to upload and download VHD files between on premise and Azure. Please note that at the time of writing, only the VHD format is supported. First you need to ensure you have Azure Powershell installed, there is a great guide you can follow here After you’re connected … Continue reading

Import Dynamics CRM Organisation using PowerShell and a User Mapping File

The following PowerShell script can be used to import a CRM 2011 organisation using PowerShell and a User Mapping File to map the required users only. We use this command when we restore production SQL backups to our development servers in order to change the user and administrator accounts that are used (different to production). … Continue reading

Exchange server bulk mail send using PowerShell

I recently had to check the capacity of our Exchange 2007 Server due to having delays of several hours for email sends and receives. I created the small PowerShell script attached to send 1000 emails through the server. Feel free to download and modify as required. It turns out it was a bad Server 2003 … Continue reading

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