Solved

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

Posted on 2012-03-28
1
513 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

MS Outlook is a world-class email client application that is mainly used for e-communication globally.  In this article, we will discuss the basic idea about MS Outlook, its advanced features, and types of MS Outlook File formats.
Read this checklist to learn more about the 15 things you should never include in an email signature.
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…
In this video we show how to create an email address policy in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Mail Flow…

863 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now