EMS Command error
A co-worker is working with RIM Tech Support to correct a problem on our BES server. She's trying to run the following command in EMS: Get-mailboxcalendarsettings | set-mailboxcalendarsettings - removeforwardedmeetingnotifications $true. But she keeps getting an error "cannot save changes made to an item to store". She has Exchange Organization Level permissions. Can anyone help determine the problem?
December 18th, 2009 10:35pm

Follow up: We were able to get the command to run using set-mailboxcalendarsettings . Could it be an issue with the pipe command?
Free Windows Admin Tool Kit Click here and download it now
December 18th, 2009 11:03pm

Does this work?get-mailbox | set-mailboxcalendarsettings - removeforwardedmeetingnotifications $trueset-mailboxcalendarsettings requires an Identity parameter as pipeline input, but get-mailboxcalendarsettings doesn't provide one.
December 18th, 2009 11:26pm

No same error ... Here's the whole thing:Cannot save changes made to an item to store.At line:1 char:1+ g <<<< et-mailbox | set-mailboxcalendarsettings -removeforwardedmeetingnotifications $true
Free Windows Admin Tool Kit Click here and download it now
December 19th, 2009 1:23am

Do you get this on every mailbox or only some of them?get-mailbox |% {Write-host $_.displayname set-mailboxcalendarsettings $_ -removeforwardedmeetingnotifications $true}
December 19th, 2009 1:52am

When I ran the command I only got one response, which was the error shown above.
Free Windows Admin Tool Kit Click here and download it now
December 19th, 2009 2:15am

You got that when you ran the script I posted?
December 19th, 2009 2:25am

No, sorry, I got that reponse to the original command I ran.When I ran your script, I got a response from each mailbox. Each one looked like this:Joe User set-mailboxcalendarsettings Joe User -removeforwardedmeetingnotifications TrueCan you explain why your script worked and the original command did not?
Free Windows Admin Tool Kit Click here and download it now
December 19th, 2009 2:40am

I'd have to do some testing. It doesn't appear to like that particular pipeline construction. Are you using Powershell V1 or V2? I seem to remember something about a change in V2 that disallowed changing the current piepline object within the pipeline.
December 19th, 2009 2:49am

PowerShell v1
Free Windows Admin Tool Kit Click here and download it now
December 19th, 2009 2:59am

Are you running the command from the server, or from a workstation with the management tools installed?If you're running it from a workstation, do the versions match between the management tools there and the Exchange version on the server?
December 19th, 2009 3:14am

command run from server
Free Windows Admin Tool Kit Click here and download it now
December 22nd, 2009 12:51am

Weird. It may be version specific. I'm running V2 on my servers, and I cannot reproduce that.
December 22nd, 2009 1:10am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics