Solved

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

Posted on 2012-03-28
1
524 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

This article will help to fix the below error for MS Exchange server 2010 I. Out Of office not working II. Certificate error "name on the security certificate is invalid or does not match the name of the site" III. Make Internal URLs and External…
In this post we will be converting StringData saved within a text file into a hash table. This can be further used in a PowerShell script for replacing settings that are dynamic in nature from environment to environment.
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…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Suggested Courses

623 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