hello
Google
Welcome to Carpe Diem: Flaphead@Home Sign in | Join | Help

News


  • Add to Technorati Favorites <script type="text/javascript" src="http://technorati.com/embed/3ni3q36ikc.js"> </script>
    This information is provided "AS IS" with no warranties, and confers no rights. Also some of the information contains my views and thoughts.
    <script src="http://widgets.technorati.com/t.js" type="text/javascript" charset="UTF-8"></script>

    Add Me! - Search Engine Optimization

    I heart FeedBurner

Browse by Tags

All Tags » PowerShell   (RSS)
How to disable the "Sent by Microsoft Exchange Server 2007" branding sentence in an Exchange Server 2007 DSN message
So Anderson posted this, and my initial thought was huh? The KB didn't really explain either, so it was time for a test. So the KB will allow you to remove the circled text below: And it's a nice simple PowerShell Command: Set-TransportConfig WritingBrandingInDSNEnabled Read More...
Posted: 23 July 2008 08:51 by Paul Flaherty | 0 Comments
eXTReMe Tracker
Add Me! - Search Engine Optimization
Locations of visitors to this page Blog Flux Pinger - reliable ping service.
Exchange 2003 and Windows Powershell
I just have to share this with you, as I was quite impressed by how quick I knocked this script up.  Basically I wanted to see how much email was queued up on my Exchange 2003 servers.  I had a feeling that a WMI object existed so I ran scriptomatic Read More...
Posted: 03 July 2008 20:28 by Paul Flaherty | 2 Comments
eXTReMe Tracker
Add Me! - Search Engine Optimization
Locations of visitors to this page Blog Flux Pinger - reliable ping service.
Powershell Warnings
Do you know how sometimes you write a script and the output looks lovely, but for some stupid reason a yellow warning message ruins it. Well my school day learning from today is that you can turn them off! So lets say I run this [PS] C:\PS>get-mailboxdatabase Read More...
Posted: 03 June 2008 14:50 by Paul Flaherty | 1 Comments
eXTReMe Tracker
Add Me! - Search Engine Optimization
Locations of visitors to this page Blog Flux Pinger - reliable ping service.
Version 5 of the Mailbox Size Gui Script for Exchange 2007
The king of exchange powershell scripting .. so here is v5 of the awesome mailbox size gui script by Glen. This time he has added mailbox growth history. Check it out and download it! http://gsexdev.blogspot.com/2008/05/version-5-of-mailbox-size-gui-script.htm Read More...
Posted: 02 June 2008 15:45 by Paul Flaherty | 0 Comments
eXTReMe Tracker
Add Me! - Search Engine Optimization
Locations of visitors to this page Blog Flux Pinger - reliable ping service.
get-PerfCounters.ps1
I wrote this a while back, and just blew the dust off it. Meet get-PerfCounters.ps1 Basically you feed the script a csv file that has "ServerName" on the first line the first. The script will then loop the servers and get the following perf counters System\System Read More...
Posted: 23 May 2008 12:17 by Paul Flaherty | 1 Comments
eXTReMe Tracker
Add Me! - Search Engine Optimization
Locations of visitors to this page Blog Flux Pinger - reliable ping service.
Exchange Management Shell: TFM (eBook)
Off the back of Eileen's post, I just couldn't resist a new ebook. So Exchange Management Shell: TFM is a 386 page secured! PDF document, with the last 8 being adverts for Sapien Press!. The secured bit is a a major pain in the butt as you can't copy Read More...
Posted: 22 May 2008 08:42 by Paul Flaherty | 1 Comments
eXTReMe Tracker
Add Me! - Search Engine Optimization
Locations of visitors to this page Blog Flux Pinger - reliable ping service.
Windows PowerShell Scriptomatic
ooh ooh ooh ... nice Source: http://www.microsoft.com/downloads/details.aspx?familyid=d87daf50-e487-4b0b-995c-f36a2855016e&displaylang=en A new utility that writes Windows PowerShell scripts that harness the power of WMI (Windows Instrumentation Management) Read More...
Posted: 20 May 2008 17:51 by Paul Flaherty | 0 Comments
Filed under: ,
eXTReMe Tracker
Add Me! - Search Engine Optimization
Locations of visitors to this page Blog Flux Pinger - reliable ping service.
Exchange 2007 Messaging Tracking
This is an interesting one I found. We set Message Tracking on out Hub Role servers so it would purge the logs after 30 days .. nice and simple. MessageTrackingLogEnabled : True MessageTrackingLogMaxAge : 30.00:00:00 MessageTrackingLogMaxDirectorySize Read More...
Posted: 04 April 2008 12:36 by Paul Flaherty | 1 Comments
eXTReMe Tracker
Add Me! - Search Engine Optimization
Locations of visitors to this page Blog Flux Pinger - reliable ping service.
Exchange 2007 / Outlook 2003 / Blackberry & OoO
I saw Andy posted this ( http://telnetport25.wordpress.com/2008/03/16/quick-ish-tip-exchange-2007-setting-oof-for-users-via-powershell-2/ ) today and wanted to share my script. It uses the same dll from Glen(EWSOofUtil.dll) to open the specified users Read More...
Posted: 28 March 2008 17:43 by Paul Flaherty | 1 Comments
eXTReMe Tracker
Add Me! - Search Engine Optimization
Locations of visitors to this page Blog Flux Pinger - reliable ping service.
Get-MSXBackupStatus.ps1
So this is a script I knocked up to make sure Exchange is being backed up. It does it by querying the LastFullBackup attribute of an Exchange Database. It groups servers by AD site, and I have this run as a scheduled task every day. It also send and email. Read More...
Posted: 06 February 2008 11:45 by Paul Flaherty | 1 Comments
eXTReMe Tracker
Add Me! - Search Engine Optimization
Locations of visitors to this page Blog Flux Pinger - reliable ping service.
Powershell Array Comparison
I am updating my Get-ExchangeServerPlus.ps1 and I wanted to check for a hotfix in the registry. But I wanted the ability to add more checks by adding a value to an array. So my code is enumerating the registry using WMI and I wanted to check a registry Read More...
Posted: 30 January 2008 10:07 by Paul Flaherty | 0 Comments
Filed under: ,
eXTReMe Tracker
Add Me! - Search Engine Optimization
Locations of visitors to this page Blog Flux Pinger - reliable ping service.
Windows PowerShell Cookbook
In my past life I used to program dBase and Foxpro. I am the sort of programmer that is kind of lazy, and I like looking for samples of code and then working by code around it, or using the sample to get an Idea how to do stuff. Typically I use msdn and Read More...
Posted: 17 December 2007 16:08 by Paul Flaherty | 0 Comments
Filed under: ,
eXTReMe Tracker
Add Me! - Search Engine Optimization
Locations of visitors to this page Blog Flux Pinger - reliable ping service.
Get-AllQueuesGUI.ps1 (v1.2)
I just have to share this with you. So for those of us who have Installed Exchange 2007 RTM, you may have noticed that the queue viewer is a bit pants. Now I have not seen Exchange 2007 Service Pack 1, so maybe this is fixed, but when I look at queues Read More...
Posted: 28 November 2007 19:06 by Paul Flaherty | 1 Comments
eXTReMe Tracker
Add Me! - Search Engine Optimization
Locations of visitors to this page Blog Flux Pinger - reliable ping service.
PowerShell and EventLogs
So I have been "play" with PowerShell again today, and I have trying to work out how to write an Event to the Eventlog. Richard gave me some code to do it with vbs, but I found this while surfing (it has taken an age to find!) http://winpowershell.blogspot.com/2006_07_01_archive.html Read More...
Posted: 12 November 2007 22:59 by Paul Flaherty | 1 Comments
eXTReMe Tracker
Add Me! - Search Engine Optimization
Locations of visitors to this page Blog Flux Pinger - reliable ping service.
get-allqueues.ps1 v1.0
Can remember if I posted this or not, but I forgot who handy it is. basically if just runs get-queue, but for all you Exchange 2007 Hub Transport Servers Ah, but what is really cool is this .. You can do "stuff" with the output So you could run [PS] C:\ps>.\get-allqueues.ps1 Read More...
Posted: 09 November 2007 15:39 by Paul Flaherty | 4 Comments
eXTReMe Tracker
Add Me! - Search Engine Optimization
Locations of visitors to this page Blog Flux Pinger - reliable ping service.
get-exchangeserverplus.ps1 v1.3
So after the release of Rollup Update 5, wouldn't it be nice if you could run a simple PowerShell script to check all your exchange servers and see what Rollup they have applied Well now you can ;-) get-exchangeserverplus.ps1 It runs get-exchangeserver Read More...
Posted: 31 October 2007 09:30 by Paul Flaherty | 2 Comments
eXTReMe Tracker
Add Me! - Search Engine Optimization
Locations of visitors to this page Blog Flux Pinger - reliable ping service.
Exchange 2007: Setup /NewProvisionedServer
So I have been having some fun this setup switch and wanted to share some stuff with you .... so if your Exchange 2007 organization contains many Exchange servers, it is possible that more than one person will be installing Exchange 2007. As a result, Read More...
Posted: 22 October 2007 16:56 by Paul Flaherty | 6 Comments
eXTReMe Tracker
Add Me! - Search Engine Optimization
Locations of visitors to this page Blog Flux Pinger - reliable ping service.
Test-SystemHealth
Okay so we all know that Test-SystemHealth is basically ExBPAcmd with a nice wrapper. What I find interesting is that when I run it, it always "Mailbox Role Checks" even if it's run on a CAS or Hub Transport server. Well Test-SystemHealth does have a Read More...
Posted: 06 August 2007 18:01 by Paul Flaherty | 0 Comments
eXTReMe Tracker
Add Me! - Search Engine Optimization
Locations of visitors to this page Blog Flux Pinger - reliable ping service.
DynamicDistributionGroup for all users in a particular storage group
Sorry Evan , but just to correct you a little bit. ;-) but you need <ServerName>\<SG> in get-mailboxdatabase and –organizationalUnit in New-DynamicDistributionGroup To create a DDL for each DB in an SG get-mailboxdatabase -StorageGroup <ServerName>\<SG> Read More...
Posted: 10 July 2007 13:17 by Paul Flaherty | 1 Comments
eXTReMe Tracker
Add Me! - Search Engine Optimization
Locations of visitors to this page Blog Flux Pinger - reliable ping service.
WindowsPowerShell [Get-Acl / Set-Acl]
So might have guessed with my previous transport post that now I wanted to automated the moving of the logs and database to another drive. It is nice and simple, you can create a folder on the new drive and change the paths in the EdgeTransport.exe.config Read More...
Posted: 06 July 2007 14:36 by Paul Flaherty | 1 Comments
eXTReMe Tracker
Add Me! - Search Engine Optimization
Locations of visitors to this page Blog Flux Pinger - reliable ping service.
Exchange 2007 MessageTracking
So as you may know, MessageTracking in Exchange 2007 is pants. Out of the box you can only track a message from one server and have to manually track messages from one server until the next. The default MessageTracking doesn't even let you do this. So, Read More...
Posted: 27 June 2007 21:55 by Paul Flaherty | 3 Comments
Filed under: