Finally Up On Hyper-V

December 13th, 2013 by Mitchell Lintzen

194#

Started this Linux based blog on VMware Workstation originally. At some point I converted to hyper-v but had trouble booting. Lots of updates and patches to the 2012 host over time and now it booted fine. Need to post some PowerShell code.

 

 

Powershell Function Return Not What I Expected

October 24th, 2010 by Mitchell Lintzen

I had a Powershell Function that was supposed to return an Integer data type but occasionally would return an array or “system.object” type. I was checking the value with a $var.GetType().Fullname just before the “return” in the function and then after in the main body of the script and I could see that the value and the type of the variable was being changed. I finally found this article that explained output in Powershell:

http://keithhill.spaces.live.com/Blog/cns!5A8D2641E0963A97!811.entry

I had a “$string -match” inside of the function. That returns a True/False and then creates and array of the regular expression matches ($matches[x]). So every time I would see something like “True 58” as the return instead of just “58”. Then I found this article that helped to pipe the Boolean return of –match to $null:

http://www.tigraine.at/2010/09/22/powershell-functions-are-a-different-kind-of-beast/

I’ve had to use the redirect to null before but it’s been a long time. It all clicked once I understood how Powershell returns data from functions.

How To Remove Lower Control Arm

October 8th, 2010 by Mitchell Lintzen

My post on e90post.com:

How To Remove Lower Control Arm

Home Media Equipment/PC/Wire Closet and Built-in Media Cabinet (the pics)

May 12th, 2010 by Mitchell Lintzen

Finally getting around to posting the pics. I still don’t have the glass door but otherwise it’s done.

Before Pics & Equipment Descriptions are Here

Knee wall door to the closet

Knee wall door to the closet

Headroom in the entrance is slim

Headroom in the entrance is slim but it angles up as you go in so you can stand

Work shelf with UPS units below the cabinet

Work shelf with UPS units below the cabinet

Side of server, 2 DirecTV Units, & Yamaha Amp

Side of server, 2 DirecTV Receivers, & Yamaha Amp

Lots of cabling for the video; HDMI upgrade will help that

Lots of cabling for the video; HDMI upgrade will help that

Two PC's up top and networking equipment on the back wall

Two PC's up top and networking equipment on the back wall

Dell switch & surge protector up top

Dell switch & surge protector

Blue tube out the top is for future wiring

Blue tube out the top is for future wiring

Fabricated door to the rest of the attic

Fabricated door to the rest of the attic

Sandwiched 1x4 frame and plywood glued

Sandwiched 1x4 frame and plywood glued

Another attic door pic

Another attic door pic

Air circulation vent

Air circulation vent

Inside view of the media cabinet

Inside view of the media cabinet

Need some smaller PC cases and some SSD's to replace the 13 hot spinning drives below

Need some smaller PC cases and SSD's to replace the 13 hot spinning drives below

Pretty lights; need to pimp it up with some neons in the back ;)

Pretty lights; need to pimp it up with some neons in the back ;)

Bluetooth Streaming With iPod Connector

April 14th, 2010 by Mitchell Lintzen

Bimmerfest

Home Media Equipment/PC/Wire Closet and Built-in Media Cabinet

February 20th, 2010 by Mitchell Lintzen

We moved into our current home in April 2004. During construction and just before the drywall stage I wired the home with Cat5 and wired the media room and the family room with 14 gauge speaker wire. There’s some attic space next to the media room and I converted it into my “server closet” as seen below.

Messy Server Closet

Messy Server Closet

I had always planned on moving my video equipment into this same space but also wanted to rebuild the closet with some sort of rack/shelving solution. I also envisioned having the media equipment accessible from inside the media room via a built-in cabinet with adjustable shelves. Here’s a view of the wall adjacent to the attic space from the media room:

Future Built-in Media Cabinet Space

Future Built-in Media Cabinet Space

I held off on implementation until late 2009 mainly due to the cost of high definition audio/video distribution equipment. Prices slowly came down and I was finally able to purchase a component video matrix switch with 3 inputs and 5 outputs that would serve my needs. I had been planning the project for years but used Thanksgiving vacation to finalize as many details as I could and then began construction soon after. I’ve found that all sizable home projects require more money, time, effort, trips to Lowes, and disruptions to my normal routine than anticipated and this one was no different. I’m happy with the end result though and feel like I’ve added some nice value to my home. Here are some details on the features of the new closet/system:

Construction/Design

  • Walk-in, Fully Sealed and Insulated Media/PC Closet
  • Front Equipment Access Via Built-in Media/PC Cabinet with Tinted Glass Door
  • Active Cooling System
  • Dedicated 15 Amp 110V AC Circuit
  • 7/16″ x 4′ x 8′ Foil Faced OSB Plywood

Audio/Video

  • High Definition Audio/Video Distribution
  • Component Video/Coax Digital Audio over CAT5 Cable
  • TOSlink Optical to Coax Digital Audio Converters
  • Impact Acoustics 3×5 Component Video Matrix Switch
  • 4x URC-6131 JP1 Programmable Remotes
  • Xantech Xtra Link2 Infrared Distribution
  • 2x DirecTV HR21 High Definition (1080i) DVR’s
  • Yamaha RX-V1400 Surround Sound Receiver

Networking

  • Dell PowerConnect 2724 24-port Gigabit Ethernet Switch
  • Linksys WRT54G w/ DD-WRT Firmware
  • Encore ENHWI-N Wireless N Router
  • Linksys PAP2T VoIP Adapter
  • SMC Networks SMC8014 Cable Modem

Server

  • Microsoft Windows Server 2008 R2 w/ Hyper-V
  • 4U Rack Mount Server with 20x 3.5″ HDD Slots & SATA/SAS Backplane
  • SuperMicro C2SBC-Q Motherboard w/ 8 GB RAM
  • Intel Core2 Quad CPU Q9450 @ 2.66GHz
  • Adaptec ICP5085BL 256MB Cache SAS RAID Controller
  • 7x Hitachi UltraStar 15K147, 15k (73 GB, SAS); 1x Maxtor Atlas 15K II SAS 36GB
  • 4x Seagate Barracuda 7200.11 SATA 3Gb/s 500-GB; 1x Western Digital Caviar WD10EAVS 1 TB SATA300
  • 13x Linux & Windows Virtual Machines

Media PC

  • Microsoft Windows 7 Media Center Edition
  • ECS 945GCT-M Motherboard w/ 4GB RAM
  • Intel Core2 Duo E5700 @2.93GHz
  • EVGA GeForce 9500 GT
  • Hitachi Deskstar 7K250 250GB

Workstation PC

  • Microsoft Windows 7 Ultimate
  • Gigabyte EP45-DS3L Motherboard w/ 4 GB RAM
  • Intel Core2 Duo E6750 @2.66GHz
  • ATI Radeon HD 4350
  • OCZ Vertex 120GB SSD

I’ve got one more coat of paint and I’ll be ready to post the final pictures.

Also, here’s a PDF export of my Mindjet Mind Map of this project: Server Closet – Media Center Integration Project

Gather ActiveSync Device Information From Exchange 2007

October 21st, 2009 by Mitchell Lintzen

To gather a complete list of mobile devices that are connecting to your Exchange 2007 Client Access Servers we need to retrieve the full list of mailboxes and then pipe that to the Get-ActiveSyncDeviceStatistics commmand as such:

$mob_devices = get-mailbox -ResultSize unlimited |%{ Get-ActiveSyncDeviceStatistics -mailbox $_}

That command will take a long time depending on how large your organization is. Then we’ll need to iterate through each device and weed out those devices that are no longer attempting to sync with Exchange. I’ve found that looking back 14 days should be enough time to eliminate the stale partnerships.

foreach($device in $mob_devices){
if((get-date).adddays(-14) -le $device.lastsyncattempttime){
$smtp = $device.identity.smtpaddress
$name = (get-mailbox $smtp).name
$type = $device.devicetype
“$smtp    $name    $type” | out-file -append ./mob_devices.txt
}
}

The last line outputs the SMTP address, user name, and device type to a text file. Have fun!

Exchange 2007 Powershell Identity Management Automated Mailbox Provisioning Script

October 18th, 2009 by Mitchell Lintzen

Sun LDAP

Exchange 2007 Powershell Automated Distributrition List Synchronization Script

October 18th, 2009 by Mitchell Lintzen

Create & Synchronize Membership with Active Directory OU – Containers

Exchange 2007 Powershell Mailbox Migration Script

October 17th, 2009 by Mitchell Lintzen

For Single Geographical Server(s) Location Microsoft Exchange 2007 Topology

Database IO & Storage CapacityLoad Balancing

Alphabetic Database Naming Scheme

Based On Statistical Analysis Of Last Name Distribution Within Active Directory Mail-Enabled Accounts

« Previous Entries

Bitnami