Archive for the ‘Batch File’ Category

OCS – List All AD Enabled User Accounts That Are Also OCS Enabled

Monday, February 6th, 2012

2012-02-06 Initial Post
Windows Server 2003 SP2
Office Communications Server 2007 (non-R2)

csvde -f getOCSUsersListCSVDE-Output.csv -r "(&(objectCategory=user)(msRTCSIP-UserEnabled=TRUE)(!(userAccountControl:1.2.840.113556.1.4.803:=2)))" -s dc001 -l "displayName" -j .

See http://support.microsoft.com/kb/269181 for explanation of userAccountControl and using bitwise filters with LDAP.

Notes On Installing SyntaxHighlighter (WordPress Plugin for Highlighting Code) and Custom Brushes

Wednesday, December 29th, 2010

2010-12-30 Updated

2010-12-29 Initial post

I just installed the SyntaxHighlighter Evolved 3.1.1 plugin today and am testing it out.

I finally got around to looking into how to put syntax highlighted/formatted code blocks into my posts and eventually found SyntaxHighlighter. (more…)

Firefox – Open a Set Of Tabs Without Using Add-Ons

Friday, June 25th, 2010

2010-06-25 Initial Post

I was using a JavaScript script to open up a set of tabs for the sites of the TV channels that I normally watch. This allowed me to see the TV schedules in one IE session. The problem I started running into was that IE would crash occasionally or be very slow to load all the tabs. Eventually I got fed up with IE and wanted to find a way to do the same thing in Firefox. (more…)

Using Mailbox Merge Wizard (ExMerge.exe) In Batch Mode With PsExec

Tuesday, March 30th, 2010

2010-04-05 Updated
2010-03-30 Initial Post

The other week I was searching for information on how to run ExMerge with PsExec and couldn't find anything. I'm sure other admins have done that before but never posted info online about how they did it. I tested this out and using ExMerge with PsExec does work. I ended up not going through with this in production for non-technical reasons, but I know it works. Read the ExMerge and PsExec documentation for more info if you have any questions. (more…)

Virtual PC 2004 / 2007 –> Start a Virtual PC 2004 / 2007 VM Via Batch File in Scheduled Tasks

Monday, February 8th, 2010

2010-02-08 Initial Post

If you're using Hyper-V, you don't need to do this because Hyper-V has settings in the GUI for VM startup and shutdown. This post is only for Virtual PC 2004 / 2007 (I haven't used Virtual Server 2005 so I can't comment on that). I still use Virtual PC 2007 because I have to keep my home host computer on Windows XP, otherwise I would switch to Hyper-V. (more…)