Solved

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

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
In previous parts of this Nano Server deployment series, we learned how to create, deploy and configure Nano Server as a Hyper-V host. In this part, we will look for a clustering option. We will create a Hyper-V cluster of 3 Nano Server host nodes w…
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 a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

679 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