Blog Archives

Creating Shortcuts on Redirected Read-Only Desktops

Recently, I had a customer request that their RDS servers have the desktop locked down. They didn’t want users to make any changes to the desktops. After some google searches, it was clear that most people redirected the desktop and

Tagged with: , ,
Posted in Powershell

Provision New Virtual Hard Disks

When deploying a new hard drive or drives on a virtual machine, there are several steps to enable this storage in the OS of the VM. For Windows, these steps can all be accomplished via PowerShell. Granted, this is not

Tagged with: ,
Posted in Powershell

Change “Upgrade at Power Cycle” to enable automatic VMTools upgrades

VM Maintenance is a chore for most IT shops, but there are ways to make things easier! If your policies allow, you can set all VMs to upgrade VMTools on reboot. Since we usually reboot most VMs on a weekly

Tagged with: ,
Posted in PowerCLI

Programmatically add printers to a Windows server

We install servers for organizations that sometimes have hundreds of printers. Gathering information on those printers and then creating new ones on the new print server can be tedious at best. To get a list of printers, you have to

Tagged with: , ,
Posted in Powershell

Stop all Exchange Services

When migrating from Exchange 2007/2010 to Exchange 2013, one of the steps is to test the environment with the old server out of the mix. To do this, you can simply unplug the server (virtual or physical) from the network

Tagged with: , ,
Posted in Powershell

Change vRAM for multiple VMs in vCenter

Video RAM is one of those funny things you don’t think about too often, but if you need more than the default 4MB, it can be a pain to change. VM vRAM size affects the size of the console window

Tagged with: ,
Posted in PowerCLI

Get the status for a scheduled task from a list of computers

One of our standards is to have customer computers reboot on a scheduled basis (for windows updates and for system stability for highly used server, i.e. RDS servers). However, we also need them to do certain things when they reboot,

Tagged with: ,
Posted in Powershell