RSS

July 2009

Making IT profitable?

  • Saturday, July 25th 2009

So you have a truly great IT department, from the CIO down, but IT is still a cost center. Why not offer their services to other organization at fair market value and at least make it a zero sum cost? – More to follow soon —

Exchange 2007 PowerShell DistributionGroup commands

  • Thursday, July 9th 2009

Here aresome PowerShell cmdlets for working with distribution group in exchange 2007 Get-DistributionGroup – Retrieves properties of a distribution group New-DistributionGroup – Creates a new distribution group Remove-DistributionGroup – Deletes a distribution group Set-DistributionGroup –  Set Properties on a distribution group

How To Create New Exchange 2007 Contacts

  • Thursday, July 9th 2009

You can create (aka import) email contacts in Exchange 2007 from the command line using PowerShell (the Exchange Console). The PS script will read the contact information from a CSV file. Here is the powershell (Exchange Console) script/command: Import-Csv contacts.csv | ForEach { New-MailContact -Name $_.displayName -ExternalEmailAddress $_.Emailaddress -OrganizationalUnit “domain.com/company/email/contacts” } NOTE: be sure to adjust the -OrganizationalUnit parameter in the command above. CSV file: (contacts.csv) displayName,Emailaddress Mike Wood,michael@example.com John Q. Customer,johnc@example.org etc,etc@example.net

DOS variables: %date% and %time%

  • Wednesday, July 8th 2009

Need to do some date and/or time manipulation in a DOS batch/command file? Here is a good example: set filedatetime=%date:~10%-%date:~4,2%-%date:~7,2%_%time:~0,2%%time:~3,2%%time:~6,2%%time:~9,2% echo %filedatetime% 2009-01-28_15120393 Hope this helps you with your batch files.

Error Starting Outlook 2007

  • Monday, July 6th 2009

Error: “Cannot start Microsoft Office Outlook. Cannot open the Outlook window.” Fix: Orb/Start -> run… -> Outlook.exe /resetnavpane