Solved

Is there a cmd to run against Resource Objects to pull Calendar Permission?

Posted on 2012-03-28
1
514 Views
Last Modified: 2012-03-28
I need to pull the current Calendar Permission for several resource objects.

Is there a powershell cmd that will target the object name and then dump "Name" & "Permission" to a .cvs file?

Thanks
0
Comment
Question by:Admin_Stooge
1 Comment
 
LVL 5

Accepted Solution

by:
duraswitch earned 500 total points
ID: 37780042
run:  get-mailboxfolderpermission <resource alias>:\calendar

This will list the mapi permissions on the calendar folder for the mailbox.  

If you need to get all of them at once, you could use a for each loop.  Something like this should do the trick:  

$resource = get-mailbox -resultsize unlimited | where {$_.isresource -eq $true}
foreach ($result in $resource){write-host "Resource Name: " $result.displayname; Get-MailboxFolderPermission "$($result.alias):\calendar"; write-host "========================================="}

(note: the above should only be two lines, but for some reason the "code" button is greyed out for me so I'm doing this old school)
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Create auto reply server side rule in Exchange 2010 13 42
text file manipulation 2 17
Exchange 2013 certificate 8 35
Problem to setup GUI 11 28
This article explains in simple steps how to renew expiring Exchange Server Internal Transport Certificate.
Find out what you should include to make the best professional email signature for your organization.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…

785 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question