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

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

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

Enable AD Inheritance on all users in an OU and all sub OUs

Sometimes when we are deploying Exchange for our customers, we run into problems where Mobile Device (ActiveSync) users can logon to the OWA site, but can’t retrieve mail. They get a “Cannot get mail” error or similar. This occurs for

Tagged with: , , ,
Posted in Powershell

Get a dump of all DNS records from a DNS server

Have you ever needed to get a list of all records from your DNS server? Maybe you need to migrate the records to a new server (powershell can do that, too!) or maybe you just need it for your documentation.

Tagged with: , ,
Posted in Powershell