Script to find all mailboxes a user can access

I am looking for a script to find all mailboxes to which one user has access to. I have used:
get-mailbox -resultsize unlimited | get-folderpermission -user username > file.csv
The problem with this is the amount of mailboxes, powershell returns:
Sending data to a remote command failed with the following error message: The total data received from the remote clien
t exceeded allowed maximum. Allowed maximum is 524288000. For more information, see the about_Remote_Troubleshooting
The problem is the amount of data. Is there a way to do this by database, by servers, skimmed down, etc?
Thanks

Hi,
The following command can list all mailboxes which the specific user Bob has full access permissions, please try it:
Get-Mailbox -Database "Mailbox Database01" -ResultSize unlimited | Foreach {Get-MailboxPermission -Identity $_.Name -User Bob}
Regards,
Winnie Liang
TechNet Community Support

Similar Messages

  • How can we find all the available  user-exits in sap without using SMOD?.

    How can we find all the available  user-exits in sap without using SMOD?.

    Hi,
    Please check this links for user exits list.
    http://www.planetsap.com/Userexit_List.htm
    http://www.easymarketplace.de/userexit.php
    http://www.sap-img.com/ab038.htm
    Regards,
    Ferry Lianto

  • Find all Office 365 users where calendar permissions on default user is not "NonEditingAuthor"

    Hi
    How do I make a Powershell script to find all users where calendar permissions on "default" user is not "NonEditingAuthor" in Office 365?
    Best Regards
    MSISOM

    Hi MSISOM,
    To export calendar permission on default user, please refer to this script:
    $rptCollection = @()
    $mailboxes = get-mailbox -ResultSize Unlimited
    $mailboxes | foreach-object{
    $alias = $_.alias + ":\Calendar"
    $displayName = $_.DisplayName
    write-host $alias
    $permissions = Get-MailboxFolderPermission $alias | Where-Object {$_.user.UserType.value -eq "Default"}
    if($permissions -ne $null){
    foreach($perms in $permissions){
    foreach($right in $perms.AccessRights){
    $rptCollection += New-Object psobject -Property @{
    "User" = $perms.User
    "Identity" = $perms.Identity
    "StringAccessRights" = $right}
    }$rptCollection
    The result is for your reference:
    Then you can filter the result with the cmdlet "where-object {}"
    If there is anything else regarding this issue, please feel free to post back.
    Best Regards,
    Anna Wang

  • How can i save music and pictures so all users can access them?

    how can i save music and pictures so all users can access them?

    Hi, this should be your answer as for sharing music. For photos though, I would assume you can do the same thing. Hope it helps!
    http://support.apple.com/kb/ht1203

  • How can i find out how many users can login as sysdba using password file

    can any one please tell me how can i find out how many users can login as sysdba using password file
    please reply
    asif

    SYS@db102 SQL> select * from v$pwfile_users;
    USERNAME                       SYSDB SYSOP
    SYS                            TRUE  TRUE
    SYS@db102 SQL>                                  

  • Query to find the list of users having access to a particular scenario

    Hi,
    I am learning Hyperion Planning 9.2 x version. I wanted to know the query to find the list of users having access to Plan Iteration - 1 scenarion.
    As I am new to Hyperion Essbase and Hyperion Planning, I am assuming these ideas work out to get the desired result.
    1) As Hyperion Planning uses Relational DB to store the User Security information, we can query the list of users who is having access to Plan Iteration - 1 Scenario.
    I am not sure if this solution works. Please correct me If I am wrong.
    2) We can also query from the essbase editor to find out who all having access to this scenario.
    If the above is correct, can you please provide me the query.
    I am really need of this and I will be happy if any one provide the solution.
    Thanks & Regards,
    Upendra. Bestha

    Hi,
    If you are looking for some SQL to retrieve the access rights by member then you can use something like (SQL Server code though can easily be modified for Oracle)
    SELECT usr.object_name as Username,mem.object_name as Member,
    'Access Rights' = CASE acc.access_mode
    WHEN -1 THEN 'None'
    WHEN 1 THEN 'Read'
    WHEN 2 THEN 'Write'
    WHEN 3 THEN 'Write'
    ELSE 'Unknown' END,
    'Relation' = CASE acc.flags
    WHEN 0 THEN 'Member'
    WHEN 5 THEN 'Children'
    WHEN 6 THEN 'Children (inclusive)'
    WHEN 8 THEN 'Descendants'
    WHEN 9 THEN 'Descendants (inclusive)'
    ELSE 'Unknown' END
    FROM
    hsp_access_control acc, hsp_object mem, hsp_object usr
    WHERE acc.object_id = mem.object_id
    AND acc.user_id = usr.object_id
    AND mem.object_name = 'Plan Iteration - 1'
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • How many users can access networked itunes at one time?

    So we've got an Apple Extreme router and I've plugged a hard-drive in the back which has both our itunes & iphoto libraries on it. The idea being that all 3 of our mac laptops can use one networked library.
    However we are finding that only one mac can access each library at any one time - if another mac attempts to access the program simultaneously, it receives a message that the program is locked.
    Is it possible for more than one mac to access each program at any one time? If so, how?
    Thanks,
    James

    See Max connections in Oracle 10g Express
    and ask such questions in that or Express edition forum.
    Gints Plivna
    http://www.gplivna.eu

  • Windows Users can access shares but Macs Can't

    Running 10.8 on the server and here is the below problem I am having
    1. Windows users can access the file shares read/write (even though they create permissions wrong, another day to takle that since I already tried ACL)
    2. Macs running 10.8 and Mavericks
         Open the server in finder on a user machine. Can sometimes see the two share folders. Other times just get the spinning wheel.
         Now if you are so brave to click on the folder then finder will spin forever.
         It locks finder up so hard that you can't shut down the machine without holding the power button. Other programs will run just fine, it only affects finder.
    I tried connecting from the mac with smb:// to see if it is an AFP issue but it just sits on connecting forever.
    I looked through the logs and don't see anything. But my knowledge of logs is terrible.
    Any help would be great.
    Thanks
    Thom

    Running 10.8 on the server and here is the below problem I am having
    1. Windows users can access the file shares read/write (even though they create permissions wrong, another day to takle that since I already tried ACL)
    2. Macs running 10.8 and Mavericks
         Open the server in finder on a user machine. Can sometimes see the two share folders. Other times just get the spinning wheel.
         Now if you are so brave to click on the folder then finder will spin forever.
         It locks finder up so hard that you can't shut down the machine without holding the power button. Other programs will run just fine, it only affects finder.
    I tried connecting from the mac with smb:// to see if it is an AFP issue but it just sits on connecting forever.
    I looked through the logs and don't see anything. But my knowledge of logs is terrible.
    Any help would be great.
    Thanks
    Thom

  • Check User Can Access the site collection Are Not?

    Hi All 
    I have some requirement to check user can access site are not through powershell?
    Recently we done migration from 2010 to 2013 SP after that i got some problem some users can not access site  but this user have permission in sp 2010 site .
    Regarding this i need to check specific user can loing or Access  the site collection are not. using powershell
    Some one said impersonate user we can check user can open the web are not but i don't know this impersonate.
    Please help me guys.... 

    Hi,
    You can check the permission for specific user with powershell. Here is the link. Hope this will help.

  • "User can access account" option corresponding record attribute

    I am a developer and need to know what the flag/attribute is on a users Open Directory record. The admin here uses the following to deactivate users:
    Deselect the “User can access account” option in the Basic pane in Workgroup 
    But I cant see to find anything in the record looking at them through Apache Studio that shows who is active and who is deactive. I have admin access too.

    That info is not in LDAP, but in Apples PasswordServer. You can "telnet your-server-ip apple-sasl" and then "getidbyname yourusername". The resulting hex number is the slot id which you can get the policy by issuing "getpolicy 0x2334...94". You are looking for the "isDisabled" attribute.

  • How can I export an entire album to my desktop so any user can access my photos?

    Is there an easy way to export photos from my iPhoto library so that other users can access them without needing a Mac or iPhoto?

    But if it's a big album, be sure to create a new folder on the desktop first, to export them into. Having hundreds of individual photos on your desktop will slow your computer to a crawl.

  • How do you configure the iMac so separate users can access each other's files, especially iPhoto and iTunes? I need to be able to transfer media between two users and not just gain limited access using 'share'.

    How do you configure the iMac so separate users can access each other's files, especially iPhoto and iTunes? I need to be able to transfer media between two users and not just gain limited access using 'share'.

    See Terence Devlin's thorough explanation here.

  • Can I create pages that only authorized users can access?

    I need to create pages that only authorized users can access, is that possible to be done with Muse? 

    Hi Natalia,
    If you are using Business Catalyst as a host , then "Yes" you need to publish a website to use Secure zone of Business Catalyst.
    If you are using a different host or BC then you may use third party widgets like
    Adobe Muse Password Protection Widget | MuseThemes.com
    Thanks
    Prabhakar Kumar

  • Can i setup an icloud acount which 3 different users can access?

    can i setup an icloud acount which 3 different users can access?

    Anyone can access any iCloud account if they know the login and the password. Assuming that you and the others concerned already have iCloud accounts with separate logins you could create a new Apple ID, use it to create a new iCloud account and then everyone would log into it in System Preferences>Mail, Contacts and Calendars so that its contents would appear alongside the individual 'Primary' accounts. If they don't have their own iCloud accounts they can sign in in System Preferences>iCloud, of course.
    You can enable the particular types of data syncing you want to carry out, but be aware that iCloud isn't designed for multi-person use, and basically everyone has full access to the account as if it was their own.

  • Script to find duplicate index and how can we tell if an index is REALLY a duplicate?

    Does any one have script to find duplicate index? and how can we tell if an index is REALLY a duplicate?
    Rahul

    One more written by Itzik Ben-Gan
    The first query finds exact matches. The indexes must have 
    the same key columns in the same order, and the same included columns but in any order. 
    These indexes are sure targets for elimination. The only caution would be to check for index hints. 
    -- exact duplicates
    with indexcols as
    select object_id as id, index_id as indid, name,
    (select case keyno when 0 then NULL else colid end as [data()]
    from sys.sysindexkeys as k
    where k.id = i.object_id
    and k.indid = i.index_id
    order by keyno, colid
    for xml path('')) as cols,
    (select case keyno when 0 then colid else NULL end as [data()]
    from sys.sysindexkeys as k
    where k.id = i.object_id
    and k.indid = i.index_id
    order by colid
    for xml path('')) as inc
    from sys.indexes as i
    select
    object_schema_name(c1.id) + '.' + object_name(c1.id) as 'table',
    c1.name as 'index',
    c2.name as 'exactduplicate'
    from indexcols as c1
    join indexcols as c2
    on c1.id = c2.id
    and c1.indid < c2.indid
    and c1.cols = c2.cols
    and c1.inc = c2.inc;
    The second variation of this query finds partial, or duplicate, indexes 
    that share leading key columns, e.g. Ix1(col1, col2, col3) and Ix2(col1, col2) 
    would be considered duplicate indexes. This query only examines key columns and does not consider included columns. 
    These types of indexes are probable dead indexes walking. 
    -- Overlapping indxes
    with indexcols as
    select object_id as id, index_id as indid, name,
    (select case keyno when 0 then NULL else colid end as [data()]
    from sys.sysindexkeys as k
    where k.id = i.object_id
    and k.indid = i.index_id
    order by keyno, colid
    for xml path('')) as cols
    from sys.indexes as i
    select
    object_schema_name(c1.id) + '.' + object_name(c1.id) as 'table',
    c1.name as 'index',
    c2.name as 'partialduplicate'
    from indexcols as c1
    join indexcols as c2
    on c1.id = c2.id
    and c1.indid < c2.indid
    and (c1.cols like c2.cols + '%' 
    or c2.cols like c1.cols + '%') ;
    Be careful when dropping a partial duplicate index if the two indexes differ greatly in width. 
    For example, if Ix1 is a very wide index with 12 columns, and Ix2 is a narrow two-column index 
    that shares the first two columns, you may want to leave Ix2 as a faster, tighter, narrower index.
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

Maybe you are looking for

  • My built in mic on my iPod touch 4th gen stoped workin

    Ho do you fix this ?

  • PDF conversion from Open Office

    Hi everyone. I have a dilemma. I've tried to convert my Open Office document into a PDF--not for printing, but as an attachment. I've tried it from the Export PDF icon on top of document and from the File menu. It keeps coming up in code, losing form

  • Inbound Delivery Creation Problem with multiple batches

    I would appreciate if you can guide me if there is any BAPI or FM to create the inbound delivery (VL31N) with the multiple purchase orders and with the multiple batches for the materials. Regards Prasad

  • Add timestamp using variable

    Date stamp was easy to create using a custom format variable, but I cannot see how to do the same for a time stamp.  I would need a time stamp format without colons or slashes that would be rejected as a filename.   Can a custom format Time variable

  • Screen layout for the asset class

    Hi, I know the name of the screen layout used for a particular asset class, now in that screen layout I want to see which fields are mandatory and which are not. Where can I see that? Please help . Many Thanks