Friday, July 20, 2007

Exchange 2007 Get-SystemMessage

I have seen issues on some web forums and the newsgroups where someone is trying to use the Exchange 2007 Get-SystemMessage cmdlet to retrieve the value of a system message. Here is an example:

Get-SystemMessage 'en\internal\5.7.1'

One thing I learned early on is that this will NOT work unless you have created a message already using the New-SystemMessage cmdlet. By default, this will not list the built-in or default messages.

If you want to look at the original message, it is a bit convoluted. Here is the syntax:
Get-SystemMessage -original ? { $_.identity -eq 'en\internal\5.7.1' }

Labels:

3 Comments:

At 5:59 AM, Blogger Charlie said...

Jim

You missed the pipeline before the ? in the Get-SystemMessage query.

Charlie

 
At 11:28 PM, Blogger Michael J said...

I love your blog very much,and i also want to introduce my products to all of you,them are nice and very fashion,if you like them,please contact us on our website or eamil us,thks very much for your attention.And this is my products below:
authentic gucci bags, gucci boots outlet
cheap gucci shoes, discount Gucci bags
newest gucci handbags, gucci handbags 2010
Juicy couture, authentic Juicy bags
Juicy handbags outlet, tiffany 2010
Tiffany, tiffany outlet
discount tiffany charms, cheap tiffany Bangles
Armani watches outlet, watch wholesale
discount DG watches, cheap Chanel watches
newest GUCCI watches, wholesale edhardy t shirt
Moncler, Mtb shoes
Moncler jackets, cheap Moncler coats
Moncler Vest, Moncler outlet
moncler polo t shirt, MBT boots
MBT shoes in fashion, cheap mbt shoes sale
discount mbt outlet 2010, MBT Walking Shoes

 
At 11:30 PM, Blogger Michael J said...

I love your blog very much,and i also want to introduce my products to all of you,them are nice and very fashion,if you like them,please contact us on our website or eamil us,thks very much for your attention.And this is my products below:
BABYLISS
Benefit GHD
GHD IV Salon Styler
GHD MINI STYLER
GHD Precious Gift Set
Gold GHD
Kiss GHD
Pink GHD
Pure Black GHD
Pure White GHD
Purple GHD
Rare GHD
cheap ugg boots
discount ugg boots
ugg boots
classic ugg boots
ugg classic tall boots

 

Post a Comment

<< Home