Browse by Tags

All Tags » Script » Windows (RSS)

Script for From The Field

The authors of the upcoming "Windows Server 2008 Terminal Services Resource Kit" asked me if I wanted to write a script for them for a section named "From The Field". I said sure! I based the script on one I wrote a long time ago,...
Posted by michael | 1 comment(s)
Filed under: , ,

Finding Services Using non-System Accounts With PowerShell

In March of 2006, I authored this blog post, Finding Services Using non-System Accounts , with the script being written in VBscript. Two years later, most of my environment is now in PowerShell. So, I've decided to update that post with the PowerShell...

Renaming and Rebooting a Computer with PowerShell

Some things are just very easy in PowerShell. It's great! Here is a true quickie - rename and reboot a computer system (including a remote computer!): function renameAndReboot([string]$computer, [string]$newname) { $comp = gwmi win32_computersystem...

32-bit or 64-bit - What Is My Processor?

Almost everything you can buy in the server market these days is 64-bit capable - whether AMD or Intel. Almost. Much of what you buy in the desktop market is 64-bit capable - whether AMD or Intel. Much. Why do you care? Exchange Server 2007 is only supported...
Posted by michael | with no comments

Finding Services Using non-System accounts

Originally published March 23, 2006 I went into a new customer recently and found that they had about a gazillion standalone servers, all of which had the same administrator password, and they used the Administrator account to run some services. While...
Posted by michael | 2 comment(s)
Filed under: ,

Sending an e-mail to users whose password is about to expire

Originally published September 13, 2005 (Note November 13, 2007: My second most popular blog post ever. Also due for some cleanup and re-write.) This has come up a number of times, and I actually thought I'd blogged about it in the past -- but I guess...
Posted by michael | with no comments
Filed under: , ,

Controlling SUS with a Batch File -- Part The Second

Originally published September 21, 2004 Micheal Espinola Jr [michealespinola@gmail.com] took the ideas I had in this posting , plus ideas from another SUS control program out there (called NWSutil) and put something together really cool. I like what he's...
Posted by michael | with no comments
Filed under: ,

Controlling SUS with a batch file -- with support for Windows XP SP2

Originally published September 7, 2004 (Note November 13, 2007: Micheal Espinola took this and really improved it. See www.espinola.net and search for WSUSUR.) If you see me on the mailing lists, you know that I'm a big believer in using scripting...
Posted by michael | 1 comment(s)
Filed under: ,