PowerShell v1.0 TFM

Well, the 2nd Edition of this book is coming out.  Why do I mention this?  Because I helped review it.  I have to say, I got to review probably about 1/3 to 1/2 the book and it is great.  I’m looking forward to getting the full copy and seeing everything else.

I knew a good amount of the basics of PowerShell before I started and I have to say that this book really helped solidify those basics and then it taught me a ton more.

This book is a great overall PowerShell book.  It has something for everyone.  I will be recommending it to my co-workers as I am forcing PowerShell on them.

Thanks to Don Jones for allowing me the privilege to review this.

Technorati Tags: , ,

Powered by ScribeFire.

VMWare Server 2.0 Beta on Vista Host

Well, VMWare released the beta of version 2 of their Server product.  I promptly went out and downloaded it and installed it.  This is on my Vista Ulitmate laptop.  Granted, I was hoping to test this because I have clients who could use this product and I like to stay on top of things.  I was a bit bummed when I tried to login and it wouldn’t let me.  A quick trip to the VMWare Community forums confirmed my fears, Vista isn’t a supported host and so there was no plan to make it work.  I also knew it wouldn’t be long before someone figured out how to make it work.

So, what’s the answer?  Set the LOCAL Adminsitrator password and enable the account.  Then you can log in as the local admin.  Looks like this is an issue with Beta 1.  You can’t set any other users to be able to log in.

Tomorrow I’ll try loading up a VM and see how it goes.  Looks interesting at the very least.

Powered by ScribeFire.

OCS 2007 Tip of the Day!

Yep, I’m still working away at OCS 2007.  Here is my tip of the day, download and install the communicator.adm file from Microsoft.  This file adds Communicator specifics to Group Policy.  There are quite a few handy little pieces there.  One important one is the ability to “relax” DNS so that it is not enforcing strict DNS naming.  Why is this important?  Because if you have an internal domain of corp.xyz.com and external domain of xyz.com when your clients go outside of your network, they won’t be able to take advantage of the automatic sign-in feature.

There are some other cool things in there as well.  Things that make your job as an admin easier and we all know that as admins, we’re lazy.

Technorati Tags: ,

Powered by ScribeFire.

Been awhile, what I have been up to (OCS 2007)

Well, I am still working with SharePoint but lately that has fallen off.  For the past three weeks, I have been learning Office Communication Server 2007.  I have drank from the firehouse and for not knowing anything about it three weeks ago, I feel like I’ve accomplished alot.

OCS 2007 is a beast.  It is Microsoft’s entry into the Unified Communications realm.  It allows for IM, Web Conferencing, VoIP, and Presence.  I just got our internal setup done in regards to IM and Presence.  We are still a bit out on being finished though.  We still need a few certificates from a Public entity such as Thawte or Verisign so that we can federate with the Public IM services such as AIM or Yahoo. 

A few notes if you are looking into setting OCS 2007 up.  First, have a internal Enterprise Certificate Authority.  Why?  Because everything in OCS depends on certs.  It uses MTLS for authentication.  Trust me, it is better to have your own internal CA then paying for all the certs you’ll need.  You should only need public certs on your edge servers for federating with other organizations.

Also, make sure you have all your names picked out before you start the install process.  It is not very easy to go back and change external names after you’ve done the install.  You have to use the command line (not that hard) and the documentation is wrong in some spots (hard when you don’t know what you really need). 

Next step is to get our VoIP system integrated with OCS 2007 by use of a mediation server.  That should be fun as I have zero experience with the guts of VoIP.  I’m sure I will be learning a ton about SIP.  I have a brand new Tanjay phone sitting on my desk that I’m so ready to move to.  It is awesome with the color touch screen.  Being able to use it full time will rock.  Then I’m thinking about bringing home one of the Catalina’s that we got so when I work from home, I’ll be able to have a phone without having to depend on my cell.  The great thing about the Catalina is it only works by USB on your computer so when the computer is off, so is the phone.

We also need to get our Exchange 2007 server setup.  That will hopefully be done by the end of the week.  Then we’ll see what we really have.  It’s fun getting to learn something this new and becoming an expert.  I’m looking forward to taking the OCS 2007 test as part of my MCSE too. 

If you have q’s about OCS, leave them in the comments and I’ll try to answer them.

Technorati Tags: , , , ,

Powered by ScribeFire.

Access Based Enumeration (with Server 2k3 and 2k8)

Accessed Based Enumeration (ABE) is very handy.  Basically, it only lets you see what you have permissions for.  This feature is built into Windows Server 2008 so you don’t have to install an extra piece as you do in 2003.

You can find more details about ABE and Server 2008 here.

If you want to implement ABE in Server 2003, you will need to install a add-on to control it.  You can find the download here.  Also, here is a bit of Microsoft documentation on how to use it.

I can see many places where this would be useful, especially in organizations that are getting bigger.  You may not want everyone to see the “Software” share that IT has to install all the software remotely or the Finance folder.  ABE would be a great way to handle this so you aren’t having to create hidden shares and the like.

Technorati Tags: , , ,

Powered by ScribeFire.

VMWare Server 1.0.4 Released

Wow, this looks like it has been out at least a little bit today if not a little longer and I haven’t seen anything on the blogs about it. 

Here are the release notes.

Having used VMWare Server since it’s Beta days, I have to say it is a great product.  It is extremely responsive and is a work horse.  I have setup quite a few VMWare Servers using both Windows and Linux as the host OS and then loaded up the server with 5-6 VM’s.  This is a great ROI, especially when you realize that the software is free.

Technorati Tags: ,

Powered by ScribeFire.

VM Stress test

This site gives a couple of scripts that can help stress test a ESX server.  Since these scripts would run on the VM and not the ESX server directly, I can’t see why you couldn’t use these to test any VM (MS, Xen, VMWare).

Gonna have to store this one in the back of my brain for when I need to load test a VM host.

Technorati Tags: , ,

Powered by ScribeFire.

SharePoint training screencasts

Came across this today and was impressed.  These videos give you an idea of what it takes and will help you get comfortable with some of the advanced tasks of SharePoint 2007 or WSS 3.0.

http://www.microsoft.com/downloads/details.aspx?FamilyID=BD5C77B0-F556-4136-8730-1D7FEEAE0A42&displaylang=en

I watched the Event Handlers one and came away feeling ok about it.  I think with a bit more of documentation that I could write my own pretty easily.  I don’t know why, but once I see something, it always seems a bit easier to do.

Technorati Tags: , , ,

Powered by ScribeFire.

Search in Google Reader

Finally!  Whoo-hoo!!!!  I have been wanting this for so long.  I always wondered why Google Reader didn’t have the ability to search the blog entries that I had read.  This is a Google product, right?

Well, now I can.  This is great!  Keep up the great work Google Reader Team. 

Technorati Tags: ,

Powered by ScribeFire.

MySites Storage and Quota’s

I’m writing this more in the hope of helping someone else out. We had an issue where someone was copying files up to their Personal Documents and it crashed out.  Well, when that happened, everything went into the Recycle Bin.  Most likely this happened because they were trying to copy 150MB.  By default, the MySites have a 100MB quota in place.  We were getting a strange error that talked about quota’s but when you looked up the error code I couldn’t find anything on it.

 

Now, where am I going with this?  Ah, that’s right, where to look for the quotas and how much a site is taking up.  To do this, go to your Central Administration and then to the Application Management page.  Then under SharePoint Site Management you’ll see Site Collection Quotas and locks.

Here you can set which quota a user is on or if they are on an individual quota or you can clear the quota all together.

While it didn’t take me long to figure this out, I just thought I’d share and keep my blog fresh! 

Technorati Tags: , , ,

Powered by ScribeFire.

How to use Content Types in a Search Scope

In this post I am going to demonstrate how to setup SharePoint 2007 to use Content Types in your Search Scope.  Why?  Because there isn’t much documentation on the web about this and it took me some time to figure out.

First, you need to make sure that custom search scopes are allowed.  To do this, go to the Site Settings for your top level site.  Under the Site Collection Administration section, choose Search Settings.  Here, make sure “Use Custom scopes” is selected.

Second, we want to make sure that we can use Content Types in a Search Scope (this was the key piece that I was missing when setting this up).  To do this, you need to go to your Shared Services site (SSP) and go to Search Settings.  Then we want to go to the Metadata Property Mappings in the Crawl Settings section.  Here are all of the Managed Properties that SharePoint knows about.  Find ContentType and click on it.  At the very bottom there is a check box to all this property to be used in scopes.

Once you have done this, you need to crawl the site in order for SharePoint to index the Content Types.  You can do this from the Search Settings page inside the SSP.

Next, we want to create our search scope.  There are two ways to do this.  You can do go through the SSP or you can do it from your SharePoint site.  For this example, I am going to use the SharePoint site.  Go to the Site Settings for your SharePoint site.  Under the Site Collection Administration section choose Search Scopes.

Go ahead and choose New Scope.  For this example, I am going to create a scope centered around the Document content type.

One thing to note, I selected the “Search Dropdown” box.  I did this so that it will show up in the drop down box that is at the top of the page.

Hit ok and it will take you back to the Scopes page.  On the line that says Documents, it has a link to “Add rules”.  Let’s click on that to add the rules for the scope.

The key thing to note here is the “Add property restrictions” dropdown.  We can select ContentType here because we allowed the managed property to be used in scopes earlier in the process.  From here, hit ok.  It will take you back to the scopes page.  At this point you either need to wait for the scopes to update (done every 15 minutes) or you can go the SSP and under Search Settings select Update Scopes to force it to update.

Now we can search for items that are of the Content Type “Document” from the drop down.

You can add more rules to make it more restrictive or to exclude items as well.  I hope this helps you out as I could have used something like this yesterday!

Technorati Tags: , , ,

Powered by ScribeFire.

Powershell time saver of the day

I built a Windows Server 2008 Virtual Machine (yep, you read that right) and decided to put MOSS 2007 on it.  I’ve done several MOSS 2k7 rollouts and wanted to have a place to play where I can’t hurt anything.

I got everything installed easily enough but then I decided I wanted to add some of the Microsoft Templates.  Well, I followed the directions for the first one, and realized that if I wanted to add them all it would be fairly time consuming, until about 2 seconds later when I realized that I was in Powershell and I could probably feed this into a for-each statement and loop it.  So, here are the two commands that I used to get everything to work:

ls c:\users\administrators\downloads\SP\*.wsp | % {.\stsadm.exe -o addsolution -filename $_.fullname}

ls c:\users\administrators\downloads\SP\*.wsp | % {.\stsadm.exe -o deploysolution -name $_.name -allowgacdeployment -local}

BAM!  Everything looped through and added itself to the templates.  How easy is that?  Just another reason to love PowerShell.

Technorati Tags: , ,

Powered by ScribeFire.

Simpsons Movie Countdown with PowerShell

Yeah, I’m trying new things with PowerShell.  Someone challenged me to see if I could come up with how long til the movie.  Well that was pretty easy.  I did:

New-TimeSpan (Get-Date) “7/27/2007 12:01:00″

Days              : 1
Hours             : 20
Minutes           : 31
Seconds           : 53
Milliseconds      : 146
Ticks             : 1603131460301
TotalDays         : 1.85547622720023
TotalHours        : 44.5314294528056
TotalMinutes      : 2671.88576716833
TotalSeconds      : 160313.1460301
TotalMilliseconds : 160313146.0301

I turned around and used the PowerGadgets and borrowed some code from Richard Siddaway to come up with this:

param([datetime]$end = “Friday, July 27, 2007 12:01:00 AM”)

$t = $end - (get-date)

if ($t.Seconds -lt 10) {$s = “0″ + ([System.Math]::Truncate($t.Seconds)).ToString() }

else { $s = ([System.Math]::Truncate($t.Seconds)).ToString() }

$d = ([System.Math]::Truncate($t.days)).ToString()
$h = ([System.Math]::Truncate($t.Hours)).ToString()
$m = ([System.Math]::Truncate($t.Minutes)).ToString()

$d + ” Day ” + $h + ” hours ” + $m + ” minutes ” + $s + ” seconds “

I then outputed these results to a PowerGadget:

.\simpsons-countdown.ps1|out-gauge -Type Digital -refresh 00:00:01 -ToolTip “Time til The Simpsons Movie” -Appearance_color Yellow

And this is what I got:

Pretty cool huh?  I may have to purchase the PowerGadgets when my 30 day trial is over.  I could get some use out of them.

Technorati Tags: , ,

Powered by ScribeFire.

Google Reader

I use Google Reader to read all the blogs I am subscribed to.  Currently, I am reading 49 different blogs.  I’m a long way from being Scoble, but I’m not paid to blog either.  :)   Any way, here is my Shared Items link:

http://www.google.com/reader/shared/07208880145778341028

I hope you can find good info on it.  If there is a blog that you think I should be reading, let me know in my comments here.

Semantics

Today I was presented with a situation where I knew what the words were meant to convey but if they had just been in writing they could have been interpreted in a much different way.  It struck me how much semantics play a part in our everyday life.

My boss told me today that he was happy that I had joined the team and that I was providing value.  I should add that I am somewhat sensitive to the thought that I am potentially just a disposable asset (human capital if you will).  His choice of words struck me funny.  I started thinking about it (always bad) and realized that what he was trying to convey was that he values me.  At least I hope that is what he was trying to convey.

The reason I say this is if you have a product and you say it is a good value, it means you are getting a lot of return for what you paid for it (aka investment).  Just because a product gives you value does not make the product valuable.  Take for example some carpet shampoo that I purchased the other day.  I bought the bottle of concentrated soap.  I used very little and cleaned the entire first floor of our house including the furniture.  I received a lot of value from the product but is the product valuable?  No.  I don’t have people lining up outside my house wanting to pay me loads of cash for it.

These simple words, words that were attempting to affirm me, could very well have been very insulting.  Amazing how semantics impact our daily lives huh? 

Powered by ScribeFire.

Writers block

I must have it.  It always happens like this.  I want to write but I then I go into a slump where I just don’t have any strong opinions on things.  I’ve even been looking for stuff to write about.  Since I don’t have anything better to write about, I’ll write about a few things that have been going on in my life.

First, I am helping roll out a SharePoint 2007 deployment at my new job.  This is the second deployment that I have done in the last 3 months.  I am getting better at it and understanding more and more about SharePoint.  The area that I really lack in is the database side of things.  I suck at SQL.  Thank goodness we just hired a kick-butt DBA so he took care of that.  I have a few things left to do but we’ll have it rolled to the first users by late next week.

Second, with SharePoint, we need to protect it right?  Well, I’m not convinced.  We are looking at Forefront from Microsoft.  Any real life experiences with it?  To me it seems like extra over-head.  Also, we are invested in TrendMicro already.  I don’t want another console to deal with.  I’m looking for opinions here.

Third, I’m reading a biography on Teddy Roosevelt.  It rocks.  TR was the man when it came to leadership.  The more I read about him the more I have a better understand on what it means to be a leader and how to lead with integrity.  I also think that more people should know about TR and his philosophies about life.  Especially our government leaders, they need to look back at him for some lessons on what to do now.

I know, this is a somewhat bad post but I am thinking about different things and trying to come up with good posts. 

Technorati Tags: , ,

Powered by ScribeFire.

PowerShell Community Extensions

Version 1.1.1 is out.  Personally, I am a newbie when it comes to PowerShell.  I use it when I can and play with it the same amount.  The 1.1 release of the community extensions was pretty cool.  It gave us the send-smtp cmdlet which personally I found very helpful.  Now we get the “elevate” function which is aliased to “su”.  Since my scripting background is in bash, this is awesome. 

You can find the info out about 1.1.1 here.  Many thanks to the people who are helping make PS even better.

Technorati Tags: , ,

Powered by ScribeFire.

LUN’s explained

I received this article in my inbox today.  This is probably the best description of LUN’s that I have ever read.  This is a must read for someone who wants to know more about LUN’s (what they are and how they work).  I wish I had had something this well written several years ago.

Technorati Tags:

Powered by ScribeFire.

Going green versus long term flexibility

My neighbor works for Storage Tek/Sun.  We were out on the porch discussing the tape industry and he mentioned that ST is promoting themselves as green.  How are they doing that?  They are saying that tape takes less electricity versus disk.  It makes sense and I agree with them on it.  A library with 8-10 drives is going to use volumes less electricity than a cabinet of disk.  This is all well and good, but what if one of your requirements for backup is archiving? 

For example, lets look at financial data.  We all know that you should keep it for 7 years right?  Say I buy a tape system today.  In 7 years, will I have the same tape system?  Will I have a tape system that can read those old tapes?  Has anyone even tested those tapes in the last 7 years?  When I look at these questions, I believe that disk wins.  As my system evolves, I can migrate data easier from disk to disk than I can from tape.  I also believe that I have a lower chance of data loss in the end.  As long as the disk is spinning (and I’m talking about enterprise level disk here) I should be good.  It is in a RAID format of some sort and my SLA’s with the disk company keep it up to date. 

Yes, I’m utilizing more energy to make this happen, but I’m in better compliance with laws and my own internal regulations, right?  Now, if I was really going green, tape makes much more sense but I need to pay someone to deal with it, test it regularly and help migrate it to new tapes (which I have to purchase).  Not only that but if I have lots of data, I might need to hire temps or interns to help the full time guy. 

I think in the end, I would end up spending just as much and from an economics stand point, I think disk wins.  If I come down on being environmentally friendly though, going tape is a great thing.  Not only that but I am employing another person, which is something that IT usually doesn’t do.  IT is notorious for making jobs disappear as we get more efficient.  Another point for disk.  What do you think?  Is it more important to be green or more important to be cost conscious?  Have I made a error in my logic?  Let me know.

Technorati Tags: , , ,

Powered by ScribeFire.

One week later

I’ve got one week down at the new gig.  Thought I would post a few thoughts on it.  First, it is an interesting change going from the man in charge, to not being in charge.  Ultimately, this will be good for me.  I was a big fish in a pond that I could see becoming smaller.  The pond I have moved into is a growing pond.  I know this is not a place I will be at for decades (heck, I doubt that will ever happen).  But this is a place that I will gain new experiences at and do good things.

People ask me what I want to do long term all the time.  I tell them that I want to be a CIO/CTO.  I want to speak to the masses and help pass on the passion that I have for technology.  This company will help me achieve those goals.  Why do I believe that?  Because of the people there.  Everyone seems very passionate and up for the challenge.

I also want to point out that Computerworld released their annual Best Places to Work in IT.  It was very interesting to read what they thought made the best places exactly that, the best.  They discussed that people felt like their work was the best when they were treated right overall and when the company had good ethics and morals.  Companies need to take heed of this.  This is common sense type of stuff.  Treat people well and they will perform.  Invest in them as people, don’t just throw money at them or a foose ball table.

I am going to try and come up with some more technical posts here in the next few days.  I’ve been going on and on about my career and what not lately.  Feel free to suggest topics.  Most likely it will revolve around Active Directory, Backups and Virtual Machines as I will be dealing with these at work.