Enter your search terms
Submit search form
Web
This Blog!
Welcome to Carpe Diem: Flaphead@Home
Sign in
|
Join
|
Help
Search
Carpe Diem: Flaphead.com
Seize the Day
Home
Email
RSS 2.0
Atom 1.0
Recent Posts
Send-Mail.ps1 v3.2 [7 November 2008]
get-hotfix.ps1 v1.5 [7 November 2008]
CAS vdir restore using PowerShell
Symantec Enterprise Security Manager and Exchange 2007 CCR Clusters
Get-MailboxStatistics with TotalItemSize in MB to a CSV file
Tags
!News
!Things2Remember
.General
A Month in Exchange
Apple
BlackBerry
BlogCast
Book Reviews
Books
Cars
Cloud
DST2007
Enterprise Vault
Environment
Exchange
Flaphead
Food & Drink
Fringe
Fun
Gadgets
Gaming
Google
Hints n Tips
HTC
HTC Shift
KB Articles
MCE
MediaCentre
Microsoft
MMMUG
Mobile
Monitoring
MsEvents
MsExchange
MsOffice
Omnia
Outlook
PowerShell
Rant
Resturant Reviews
SBS
Scripting
Security
Sport
SQL
TabletPC
Tools
Traffic News
Training
Travel
Troubleshooting
Vista
Windows
XBOX
Zune
News
<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>
Blog Information
Profile for flaphead
Add Me! - Search Engine Optimization
Navigation
Home
Blogs
Photos
Downloads
My Reader
Blog Roll
Adam's Mindspace
Susan Bradley's SBS Blog
Evan Dodd's Blog
You Had Me At EHLO... THE Exchange Blog
The Register
rcpt to:
Randomelements
msmobiles.com
MS Exchange Blog by William Lefkovics
Schneier on Security
Eileen Brown
Blog Search Engines
We Blog A Lot
Archives
November 2008 (12)
October 2008 (23)
September 2008 (9)
August 2008 (29)
July 2008 (40)
June 2008 (17)
May 2008 (16)
April 2008 (18)
March 2008 (21)
February 2008 (27)
January 2008 (17)
December 2007 (10)
November 2007 (16)
October 2007 (12)
September 2007 (6)
August 2007 (28)
July 2007 (15)
June 2007 (6)
May 2007 (18)
April 2007 (34)
March 2007 (54)
February 2007 (45)
January 2007 (74)
December 2006 (15)
November 2006 (28)
October 2006 (24)
September 2006 (14)
August 2006 (47)
July 2006 (18)
June 2006 (39)
May 2006 (26)
April 2006 (29)
March 2006 (51)
February 2006 (38)
January 2006 (17)
December 2005 (11)
November 2005 (26)
October 2005 (36)
September 2005 (97)
August 2005 (40)
July 2005 (66)
June 2005 (149)
May 2005 (100)
April 2005 (95)
March 2005 (115)
February 2005 (97)
January 2005 (105)
December 2004 (68)
November 2004 (73)
October 2004 (81)
September 2004 (82)
August 2004 (72)
July 2004 (62)
June 2004 (10)
Browse by Tags
All Tags
»
PowerShell
(RSS)
!Things2Remember
BlackBerry
BlogCast
Exchange
Flaphead
KB Articles
Monitoring
MsExchange
Scripting
Security
Tools
Training
Travel
Windows
XBOX
Zune
Send-Mail.ps1 v3.2 [7 November 2008]
v3.0 6 August 2008 : Removed the GUI form the original script v3.1 22 August 2008 : Updated to "autofind" a hub server if -server is not specified v3.2 7 November 2008 : Some minor tweeks. Added event logging.Added Error Event logging This script uses
Read More...
Posted:
19 November 2008 14:02
by
Paul Flaherty
|
1 Comments
Filed under:
MsExchange
,
Flaphead
,
PowerShell
Add Me! - Search Engine Optimization
get-hotfix.ps1 v1.5 [7 November 2008]
Okay I have updates as follows: v1.0 27 October 2008 : A Script is born v1.1 28 October 2008 : Add ability to expose Server Model v1.2 31 october 2008 : Added email and commandline v1.3 4 November 2008 : Added option to check recent changes v1.4 6 November
Read More...
Posted:
19 November 2008 13:57
by
Paul Flaherty
|
1 Comments
Filed under:
MsExchange
,
Flaphead
,
PowerShell
,
Exchange
Add Me! - Search Engine Optimization
CAS vdir restore using PowerShell
Wow is all I have to say, this is a damm excellent article and script .. check it out: http://technet.microsoft.com/en-us/library/bb124359.aspx Basically, it's a script that will recreate your owa virtual directories from a previous xml export! ..I just
Read More...
Posted:
18 November 2008 15:12
by
Paul Flaherty
|
0 Comments
Filed under:
MsExchange
,
Flaphead
,
PowerShell
,
Exchange
Add Me! - Search Engine Optimization
Get-MailboxStatistics with TotalItemSize in MB to a CSV file
Just ignore this, I wanted to store this code snippet somewhere and this was the best place. But if you are interested this will create a csv file from Get-MailboxStatistics, but with the TotalItemSize in MB "DisplayName,TotalItemSize(MB),ItemCount,StorageLimitSize,Database,LegacyDN"
Read More...
Posted:
14 November 2008 15:26
by
Paul Flaherty
|
0 Comments
Filed under:
MsExchange
,
Flaphead
,
PowerShell
,
Exchange
Add Me! - Search Engine Optimization
Powershell and where
Another thing I wanted to share. If you want to say Get-MailboxServer but only want a subset of server you could try this: Get-MailboxServer | Where {$_.Name -LIKE "*Serv01" -OR $_.Name -LIKE "Ex*NYC*"} Enjoy
Read More...
Posted:
14 November 2008 14:12
by
Paul Flaherty
|
0 Comments
Filed under:
MsExchange
,
Flaphead
,
PowerShell
,
Exchange
Add Me! - Search Engine Optimization
Scheduling a Powershell Command
Just wanted to share this with you all. So I have a number of scripts that I schedule to run either every 10 min, once a day or once a week. It's simple really, I create .cmd file that I then use the task scheduler or schtasks to create. Inside the .cmd
Read More...
Posted:
14 November 2008 14:05
by
Paul Flaherty
|
0 Comments
Filed under:
MsExchange
,
Flaphead
,
PowerShell
,
Exchange
Add Me! - Search Engine Optimization
Exchange Powershell and Whatif
So I have been creating a few scripts to automate the configuration of exchange, and wanted to use the -WhatIf switch so you can see what would or would not change. -WhatIf [<SwitchParameter>] The WhatIf parameter instructs the command to simulate
Read More...
Posted:
14 November 2008 09:25
by
Paul Flaherty
|
0 Comments
Filed under:
MsExchange
,
Flaphead
,
PowerShell
,
Exchange
Add Me! - Search Engine Optimization
Get-Hotfixes.ps1 v1.4 [7 November 2008]
This script uses Get-ExchangeServer to generate a list of servers and will enumerate the Exchange Patch information and list the windows updates installed on the server. This update changes the way the server list is generated and added the ability to
Read More...
Posted:
07 November 2008 14:44
by
Paul Flaherty
|
1 Comments
Filed under:
MsExchange
,
Flaphead
,
PowerShell
,
Exchange
Add Me! - Search Engine Optimization
schtasks
I mentioned this before as a way to script adding tasks to a server. So I came across an issue the other day, where I ran it once, but then it failed on the second time: ERROR: Multiple connections to a server or shared resource by the same user, using
Read More...
Posted:
07 November 2008 14:29
by
Paul Flaherty
|
0 Comments
Filed under:
MsExchange
,
Flaphead
,
PowerShell
,
Exchange
Add Me! - Search Engine Optimization
Get-AllQueuesGUI.ps1 v1.5 [24 October 2008]
A while back I posted this , but to have something more "in your face" I put a GUI around it, and this is the latest version. The script enumerates all messaging queue and displays it in a GUI. The GUI then refreshes every 10 seconds. THE GUI has four
Read More...
Posted:
31 October 2008 11:46
by
Paul Flaherty
|
0 Comments
Filed under:
MsExchange
,
Flaphead
,
PowerShell
,
Exchange
,
Monitoring
Add Me! - Search Engine Optimization
get-hotfix.ps1
I needed to get a quick list of the hotfixes installed on my Exchange 2007 servers. So I “knocked” this up .. enjoy
Read More...
Posted:
27 October 2008 17:04
by
Paul Flaherty
|
1 Comments
Filed under:
MsExchange
,
Flaphead
,
PowerShell
,
Exchange
Add Me! - Search Engine Optimization
TechNet Webcast: 24 Hours of Exchange Server 2007 (Part 08 of 24): Introduction to Windows PowerShell (Level 200)
At last I think I have cracked it so I can download these TechNet Webcasts as a video podcast to my Zune! Will post more as I get round to it, but here is the first one! .. Enjoy .. the RSS is: http://blogs.flaphead.dns2go.com/rss.aspx?Tags=BlogCast&AndTags=1
Read More...
Posted:
22 October 2008 20:55
by
Paul Flaherty
|
0 Comments
Filed under:
MsExchange
,
Flaphead
,
Training
,
BlogCast
,
PowerShell
,
Zune
,
Exchange
Add Me! - Search Engine Optimization
Setting Exchange mailbox size limits on a group
WHAT! I hear you say, you can't do that! .. Very true, but you can automate it ;-) using the wonders of Powershell Exchange 200x First you will need to use adsiedit.msc and get the groups distinguishedName. Once you have that, using an account that
Read More...
Posted:
20 October 2008 14:43
by
Paul Flaherty
|
1 Comments
Filed under:
MsExchange
,
Flaphead
,
PowerShell
,
Scripting
,
Exchange
Add Me! - Search Engine Optimization
Get-ExchangeADChanges.ps1
So I needed a way to check what has changed in the Exchange Configuration container … basically if something stopped worked ;-) So I came up with this. I run it once a week, and it checks for changes in the last 7 days. It has one command line option
Read More...
Posted:
08 October 2008 13:21
by
Paul Flaherty
|
1 Comments
Filed under:
MsExchange
,
Flaphead
,
PowerShell
,
Exchange
Add Me! - Search Engine Optimization
Exchange 2007 SP1 Powershell Commands
This is kinda interesting .. honest .. Did you know there are 394 Powershell command with Exchange 2007 SP1. But thats not intersting, the table below is! So the AD and Server build boys said … no mate, you can’t have local admin rights to
Read More...
Posted:
24 September 2008 17:01
by
Paul Flaherty
|
1 Comments
Filed under:
MsExchange
,
Flaphead
,
PowerShell
,
Exchange
Add Me! - Search Engine Optimization
Enable-ServiceEmailChannel
Everyday is indeed a School Day and I had never come across this command util today! The .NET service channel is introduced in Microsoft Exchange Server 2007 Service Pack 1 (SP1). This channel enables Exchange Server 2007 to store information that it
Read More...
Posted:
24 September 2008 09:49
by
Paul Flaherty
|
0 Comments
Filed under:
MsExchange
,
Flaphead
,
PowerShell
,
Exchange
Add Me! - Search Engine Optimization
Get a list of scheduled tasks running on your exchange servers
This is a handy little check. If you want to see what scheduled tasks are running on your Exchange 2007 servers try this: Get-ExchangeServer | foreach-object{$srv=$_.Name.ToString(); write-host "`n`n$srv"; schtasks /s \\$srv /query} Enjoy
Read More...
Posted:
15 September 2008 17:18
by
Paul Flaherty
|
1 Comments
Filed under:
MsExchange
,
Flaphead
,
PowerShell
,
Scripting
,
Exchange
Add Me! - Search Engine Optimization
Add a user to the local administrators group
How cool is this ;-) $srv=hostname;([ADSI]"WinNT://$srv/Administrators,group").Add("WinNT://<Domain>/<Account>")
Read More...
Posted:
28 August 2008 10:51
by
Paul Flaherty
|
0 Comments
Filed under:
Flaphead
,
PowerShell
,
Scripting
Add Me! - Search Engine Optimization
Findout who is logged on to a server
Has a problem today where I couldn't RDP to an Exchange 2007 server ... so knocked this up ;-) Get-ExchangeServer | foreach-Object {write-host $_.name; quser /server:$_}
Read More...
Posted:
27 August 2008 14:56
by
Paul Flaherty
|
1 Comments
Filed under:
MsExchange
,
Flaphead
,
PowerShell
,
Exchange
Add Me! - Search Engine Optimization
Exchange 2007 Mailbox Server Role Storage Requirements Calculator
I am sure you all know there is a new Storage Calculator out in the wild not, ver 15.6 I have downloaded and read the article and found a need to pass this script on to you all. Basically about half way down is a link to Collectlogs VBS script Come on!
Read More...
Posted:
26 August 2008 17:10
by
Paul Flaherty
|
0 Comments
Filed under:
MsExchange
,
Flaphead
,
PowerShell
,
Exchange
Add Me! - Search Engine Optimization