Powershell to Add Computers to AD

When I work with clients to assist with rapid building computers, often I will use the Wizard, but there are situations where I prefer to stage the computers in AD first. Rarely, do I want to build a group of computers one by one. So I use powershell to do this. Make sure you import the Active Directory module before you start. You may have to download the RSAT tools from Microsoft and enable them on your system. This script uses all of the native tools from Microsoft.

import-module activedirectory

Thick Disk v. Thin Disk -- "It Depends!"

It is surprising how often this scenario comes up, and I get asked the question, "Should we thin-provision or thick-provision our VM's?" My answer is almost always the same, "it depends." Today, I have the same answer, but for very different reasons from in the past. In the past, my answer was based on performance-related issues and saving expensive disk space. These are still very, valid concerns, however, now I answer based on risk. In recent days have been working with three different clients that have all experienced outages related to thin-disk provisioning.

Windows 7 x64 with VDI. Why do it?

Here is the spoiler -- don't do Windows 7 x64 for VDI.
Now let's talk about why. First, I'm going to give credit to Brian Madden's Blog, he mentions this also, and he is exactly correct. Windows 7 x64 uses around 200MB more memory than the x86 version. If you multiply this by the number of VDI users, it adds up quickly. (1000 desktops x 200MB equals 2 TB more memory). For a project I'm working on this equated to a requirement for 8 more servers because of x64.

Citrix Receiver Versions

As a Citix consultant I spend the vast part of my day working with VDI in one form or another and on one device or another. I especially like my iPad, but I digress. Recently, I was tasked with looking at why some functionality worked for some people and it wasn't present for others. Everyone was supposed to be using the same version. However, discovery revealed that this was not the case and there were different versions. What are the versions?

VM Workstation 8

I've been using linux for years and it is my preference for my desktop and my home systems, however the companies I work with and for usually issue Windows desktops and most of the their applications are windows applications. So, I run windows when I have to, either by dual boot or in a VM. Currently, I'm working for a company that provides a windows laptop that I must us to connect to the corporate LAN via a VPN or I can use the Citrix Access Gateway from any computer.

2008 R2 Clustering with Storage Foundation for Windows.

I was recently tasked by an architect to build out several SQL clusters, the first of many with the following configuration:

  • Microsoft SQL Clusters
  • VMware RDMs and
  • Veritas (Symantec) Storage Foundation Windows (SFW).
  • Windows 2008 R2

The goal was to create HA clusters for virtualized SQL, and to allow us to dynamically allocate additional RDMs to the cluster as storage needs grew.


Subscribe to vConsulting.us RSS