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
#BES and #Exchange 2010
BlackBerry Enterprise Server for Microsoft Exchange Version: 5.0 | Service Pack: 1
#VMware #ESX 4.0 Update 1 and VMware vCenter Server 4.0 Update 1
Microsoft Office 2010 Beta is here
The Total Economic Impact Of Microsoft #Exchange 2010
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
Hacking
Hints n Tips
HTC
HTC Shift
iPhone
KB Articles
MCE
MediaCentre
Microsoft
MMMUG
Mobile
Monitoring
MsEvents
MsExchange
MsOffice
OCS
Omnia
Outlook
PowerShell
Rant
Resturant Reviews
SBS
Scripting
Security
Sport
SQL
TabletPC
Tools
Traffic News
Training
Travel
Troubleshooting
Virtualisation
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 2009 (11)
October 2009 (8)
September 2009 (5)
August 2009 (14)
July 2009 (19)
June 2009 (8)
May 2009 (28)
April 2009 (32)
March 2009 (10)
February 2009 (3)
January 2009 (8)
December 2008 (6)
November 2008 (14)
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
#PowerShell v2 is out for Windows Vista, 2003 and 2008
I was sleeping again .. but well done Christopher ;-) Source: http://chrisbeams.wordpress.com/2009/11/09/powershell-v2-out/ –and- http://support.microsoft.com/default.aspx/kb/968929 The Windows Management Framework includes: Windows Remote Management
Read More...
Posted:
09 November 2009 14:49
by
Paul Flaherty
|
0 Comments
Filed under:
Flaphead
,
PowerShell
Add Me! - Search Engine Optimization
Get-MsxServerPLUS.ps1 v1.24
It’s been a while, but I have updated Get-MsxServerPLUS.ps1 aka Get-ExchangeServerPLUS.ps1. I changed the name as it was annoying me as it was conflicting with get-exchangeserver. Other updates are: v1.20 10 November 2008 : Changed the script name so
Read More...
Posted:
13 July 2009 10:59
by
Paul Flaherty
|
0 Comments
Filed under:
MsExchange
,
Flaphead
,
PowerShell
,
Exchange
Add Me! - Search Engine Optimization
Exchange 2007: List Activesync users
Okay do you know you can run Get-CASMailbox -Filter {HasActiveSyncDevicePartnership -eq $true} to get a list of users that have an Activesync partnership. Now if you combine this with Get-ActivesyncDeviceStatistics you can get more details too.
Read More...
Posted:
21 May 2009 17:23
by
Paul Flaherty
|
0 Comments
Filed under:
MsExchange
,
Flaphead
,
PowerShell
,
Exchange
Add Me! - Search Engine Optimization
Powershell Cmdlets for SCOM 2007 R2 (beta)
PsSnapin is called: Microsoft.EnterpriseManagement.OperationsManager.Client get-help * | where {$_.pssnapin -like "*Enter*"} | sort name | select name,synopsis | ft –auto Name Synopis Add-ConnectorToTier Configures an Operations Manager Connector
Read More...
Posted:
12 May 2009 08:25
by
Paul Flaherty
|
0 Comments
Filed under:
Flaphead
,
PowerShell
,
Scripting
Add Me! - Search Engine Optimization
Inherited OU Rights
Needed to check an OU structure to see if they have the good old “Include inheritable permissions from this object’s parent” checked. So knocked this up: $RootOU = [ADSI]”LDAP://<DC>:389/Full DN of OU” $ChildOUs = $RootOU.psbase.Children ForEach
Read More...
Posted:
07 May 2009 15:27
by
Paul Flaherty
|
1 Comments
Filed under:
Flaphead
,
PowerShell
Add Me! - Search Engine Optimization
Set an Existing Users password using Powershell
Was asked how to set an existing users password and here is how You need the FULL dn of the user (usually some like cn=user,ou=ou,dc=domain etc, etc) $xuser = [ADSI]"LDAP://<DC Name>:389/<Full DN of user>" $xuser.psbase.Invoke("SetPassword","Password2"
Read More...
Posted:
06 May 2009 18:48
by
Paul Flaherty
|
0 Comments
Filed under:
Flaphead
,
PowerShell
Add Me! - Search Engine Optimization
Clone NTFS Permissions
I have done this before when moving log file locations in Exchange and it’s well cool and make life very easy! Source: http://powershell.com/cs/blogs/tips/archive/2009/03/24/clone-ntfs-permissions.aspx NTFS access permissions can be complex and tricky.
Read More...
Posted:
21 April 2009 19:30
by
Paul Flaherty
|
0 Comments
Filed under:
MsExchange
,
Flaphead
,
PowerShell
,
Exchange
Add Me! - Search Engine Optimization
Use PowerShell To Auto-Update Your Sysinternals
how cool is this! http://devcentral.f5.com/weblogs/Joe/archive/2009/04/17/use-powershell-to-auto-update-your-sysinternals.aspx
Read More...
Posted:
21 April 2009 19:20
by
Paul Flaherty
|
0 Comments
Filed under:
Tools
,
Flaphead
,
PowerShell
Add Me! - Search Engine Optimization
Exchange 2010 Beta1: Powershell CmdLets
Just a dump for my reference .. Snapin is called “Microsoft.Exchange.Management.PowerShell.E2010” get-help * | select name,pssnapin | where {$_.pssnapin -like "*exchange*"} | sort name Add-ADPermission Add-AvailabilityAddressSpace Add-ContentFilterPhrase
Read More...
Posted:
17 April 2009 10:04
by
Paul Flaherty
|
2 Comments
Filed under:
MsExchange
,
Flaphead
,
PowerShell
,
Exchange
Add Me! - Search Engine Optimization
Export non expiry password accounts
I’m doing requests now ;-) This script will dump a list of user accounts that have “Password never expires” checked $CurrentDomain = [System.DirectoryServices.ActiveDirectory.Domain]::getcurrentdomain() $Forest = $CurrentDomain.Forest.ToString() $Forest
Read More...
Posted:
17 April 2009 09:45
by
Paul Flaherty
|
0 Comments
Filed under:
MsExchange
,
Flaphead
,
PowerShell
,
Scripting
,
Exchange
Add Me! - Search Engine Optimization
Exchange 2007 Cmdlets
Just a couple from today Test the service health for ALL of your E2k7 servers: Get-ExchangeServer | foreach{$_.name;Test-ServiceHealth} Start non running E2k7 services: Test-ServiceHealth | foreach{$x=$_;$x.ServicesNotRunning | start-service} I posted
Read More...
Posted:
26 March 2009 16:26
by
Paul Flaherty
|
0 Comments
Filed under:
MsExchange
,
Flaphead
,
PowerShell
,
Exchange
Add Me! - Search Engine Optimization
targetAddress (updated)
This is is quite a cool property of an object ... The TargetAddress property specifies the delivery address to which e-mail for this recipient should be sent. So if you have played with the Quest Migration Tools you will know that this magic property
Read More...
Posted:
11 March 2009 08:35
by
Paul Flaherty
|
2 Comments
Filed under:
MsExchange
,
Flaphead
,
PowerShell
,
Exchange
Add Me! - Search Engine Optimization
Exchange 2007 Mailbox Growth
So I was asked is there a way to see how your mailboxes grow (You know who you are!) .. an interesting challenge for this time of the morning, but hey. Here we go, this script uses Get-Mailbox and the does a fudge to get the date only part from the whencreated
Read More...
Posted:
15 January 2009 08:31
by
Paul Flaherty
|
2 Comments
Filed under:
MsExchange
,
Flaphead
,
PowerShell
,
Exchange
Add Me! - Search Engine Optimization
Update-ConfigFiles.ps1
So inlight of RU5 I thought I would share this with you. So we know the issue with the .net framework and the Certicate Revokation List. This script updates the Exchange 2007 .config files inline with 944752 : Exchange Server 2007 managed code services
Read More...
Posted:
24 November 2008 09:31
by
Paul Flaherty
|
1 Comments
Filed under:
MsExchange
,
Flaphead
,
PowerShell
,
Exchange
Add Me! - Search Engine Optimization
Update Rollup 5 for Exchange Server 2007 Service Pack 1 (KB953467)
The whole universe knows by now that RU5 for Exchange 2007 SP1 has hit the streets. You can download it here: http://www.microsoft.com/downloads/details.aspx?FamilyID=652ed33a-11a1-459c-8ffe-90b9cbfe7903&DisplayLang=en Ninob over at the Exchange team
Read More...
Posted:
24 November 2008 09:27
by
Paul Flaherty
|
0 Comments
Filed under:
MsExchange
,
Flaphead
,
PowerShell
,
Exchange
Add Me! - Search Engine Optimization
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
|
2 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
More Posts
Next page »