Shell Command - Error
		
	Hi All, I am trying to perform a bulk operation of assiging a managed folder mailbox policy on few set of users and i get error saying cannot find the user. I get the same when i try the same command on one user mailbox like Set-ManagedFolderMailboxPolicy -Identity "ABCDEFGH" -Name "Mailbox Policy" (I also tried optional -DomainController "XYZ.com") does not help. I get the same ErrorIntrestingly, when i try Get-Mailbox -Identity "ABCDEFGH" - I get the mailbox details in the shell. (Not sure where i am going wrong). Any help would be greatly appreciated. Thanks Shiv		
				July 1st, 2009 4:52pm
			To assign managed folder mailbox policy you need to use Set-Mailbox cmdlet. Set-ManagedFolderMailboxPolicy cmdlet is for setting managed folder policy settings.
Set-Mailbox "User Name" ManagedFolderMailboxPolicy 'Mailbox Policy'
Refer below couple of articles for configuring MRM in Exchange 2007 step by step...
References:
Exchange 2007 Messaging Records Management (Part 1)
http://www.msexchange.org/articles_tutorials/exchange-server-2007/compliance-policies-archiving/exchange-2007-messaging-records-management-part1.html
Exchange 2007 Messaging Records Management (Part 2)
http://www.msexchange.org/articles_tutorials/exchange-server-2007/compliance-policies-archiving/exchange-2007-messaging-records-management-part2.html
Amit Tank | MVP  Exchange Server | MCITP: EMA | MCSA: M | http://ExchangeShare.WordPress.com		
				Free Windows Admin Tool Kit Click here and download it now
					July 1st, 2009 5:20pm
			Hi Amit, Hate to post this silly thing.. i should have done some googling before posting :) I was trying the same set-managedfoldermailboxpolicy all the day and in the evening i posted this. Anyways, thanks a ton for prompt response to this. Thanks Shiv		
				July 2nd, 2009 12:08am
			No worries, you are welcome... :)Amit Tank | MVP  Exchange Server | MCITP: EMA | MCSA: M | http://ExchangeShare.WordPress.com		
				Free Windows Admin Tool Kit Click here and download it now
					July 2nd, 2009 5:33am
			

