Welcome to Powergui.org - an open source community for Windows Powershell

PowerGUI.org PowerGUI.org and blogs

Forums » Request a Script

Thread: Convert resource type from Equipment to Shared

This question is not answered. Helpful answers available: 2. Answered answers available: 1.


Permlink Replies: 1 - Pages: 1 - Last Post: Nov 22, 2009 4:08 AM by: Shay Levy
studerje

Posts: 6
Registered: 5/5/09
Convert resource type from Equipment to Shared
Posted: Nov 18, 2009 7:26 AM
 
  Click to reply to this thread Reply

Hello to all you powershell masters,
We are in the midst of Email migration from Lotus Notes to Exchange. We have several (123) shared mailboxes(Formerly Notes Mail-in Databases) that were brought over with the Resource type of 'Equipment'.
I need to change the Resource type to Shared.
Can anyone help me with a script?
I'm still very new to powershell and have done almost no Exchange powershell.
If possible, the simpler the script the better. One liners work best for me.

Thanks in advance for your help.
Regards,
-Jon

FYI, we are setup with a 2 node CCR cluster.
Message was edited by: studerje

I think I'm missing something here.
When I try to change it for just one mailbox I get the following error:
--------
[PS] C:\Windows\System32>Set-Mailbox 104838CS9FAX -Type Shared
Set-Mailbox : The Windows Cluster service encountered an error during function
OpenCluster:.
At line:1 char:12
+ Set-Mailbox <<<< 104838CS9FAX -Type Shared
--------
Message was edited by: studerje


Shay Levy


Posts: 1,919
Registered: 1/31/08
Re: Convert resource type from Equipment to Shared
Posted: Nov 22, 2009 4:08 AM   in response to: studerje
 
  Click to reply to this thread Reply

The following works fine for me (not clustred env):

Get-Mailbox -RecipientTypeDetails EquipmentMailbox | Set-Mailbox -Type Shared

Shay Levy [MVP]
http://blogs.microsoft.co.il/blogs/ScriptFanatic
PowerShell Toolbar
Legend
MVP: 2501 + pts
Guru: 2001 - 2500 pts
Expert: 751 - 2000 pts
Enthusiast: 31 - 750 pts
Novice: 0 - 30 pts
Moderators
Helpful answer (5 pts)
Answered (10 pts)

Point your RSS reader here for a feed of the latest messages in all forums