To get list of mailboxes who have forwarding rules setup

Hi ALL,
     I have exchange 2010. is it possible to get list of users who have mail forwarding rules set to external email addresses(like gmail.com or yahoo.com)
TIA

I started with your single user line and ended up with the following to get the rules for everyone including their name:
foreach ($usr in Get-ADUser -Filter ({enabled -eq $true -and mail -like "*"}) -Properties mail) { Get-InboxRule -Mailbox $usr.mail | select $usr.name, name, description | fl }
I put the output into a file which looks like:
<person's name>:
Name             : Fowarding all emails
Description      : If the message:
                       the message has an attachment
                       and the message is Meeting Request.
                       and my name is in the Cc box
                       and my name is in the To box
                       and my name is in the To or Cc box
                       and my name is not in the To box
                       and the message was sent only to me.
                   Take the following actions:
                       forward the message to '@ymail.com'

Similar Messages

  • How to get list of users who have access to a SAP module

    Hi,
    We are developing a tool in Java where we will pull the data from various modules in SAP (like Purchase order, Invoice etc). Lets take Purchase Order Module as example. I can get the data using BAPIs (like BAPI_PO_GETDETAIL).
    However to implement Authorization, I also want the list of users/groups that have access to Purchase order module. Is this possible? Or can we get the ACL information from the tables in database like EKKO for Purchase order?
    I have tried searching for solution but couldn't find any. Please suggest if there is some standard way by which we can pull the ACL information via Java, or if this can be achieved by some custom RFCs.
    Thanks,
    Anurag

    Anurag,
    The best way is to wirte a RFC Function Module (It will fetch the roles of the user from agr_users table) which will take user id as import paramter and will give you assigned roles.
    Please let me know if you still need any further information.
    Thanks,
    Hamendra

  • List of users who have authorization for a particular transaction?

    Hi All,
    Can anyone guide me how to know the list of users who have authorization for a particular transaction?
    I need this to find out the list of authorizations that are obsolete ,when the particular trnsaction is obsolete in an Upgrade process.
    Thanks in advance.

    we can get the list of users for a particular transaction as below.
    get the tcode and place in AGR_TCODES and we get the list of roles .
    loop the roles and pass each role to AGR_USERS and we get list of users for that role.
    finally we got the list of users for that tcode.

  • How can I list all users who have access to a particular TABLE or VIEW

    Hi,
    Can someone tell me how I can list all users who have access to a particular TABLE or VIEW.
    Abhishek

    Hi,
    Take a look on this link: http://www.petefinnigan.com/tools.htm
    Cheers

  • Query to find out the list of user who have delete access

    Hi,
    I need a query to find out the list of users who have delete access on perticular folder/universe/ reports  in infoview.
    Please advice.
    Regards,
    Neo.

    orton607 wrote:
    thanks for replying guys. But the thing is i am using dynamic sql execute immediate in my package, so i want those tables also and the schema name.
    thanks,
    ortonThis is not possible. The best you could do is to have a good guess.
    Or how would you parse some dynamic statement as this:
       v_suffix := 'loyees';
       v_sql := 'Select count(*) from (select ''nonsense'' col1 from emp'||v_suffix||') where col1 = ''Y'''';
       execute_immediate(v_sql);
    ...What is the table name? How do you want to parse that?
    Better rewrite all dynamic SQL statements into non dynamic ones. Or do the source control logic for those dynamic parts in an extra module. For example implement your own dependency table and force every developer to add there all dynamic parts.

  • How to get list of users who reset password using FIM portal

    How to get list of users who reset password using FIM portal
    -Thanks Rakesh Sawant

    Hi Rakesh,
    I think you are looking for something like this:
    Using Powershell to list all users that had completed
    a password reset within the last 30 days
    If you found my post helpful, please give it a Helpful vote. If it answered your question, remember to mark it as an Answer.

  • Lost my Iphone 4g, hooked up old 3gs, can't get messages from people who have me registered with ichat

    Anyone who I had previously used iChat with, can no longer send me texts now that I have had to downgrade back to a 3Gs.
    Lost my Iphone 4g, hooked up old 3gs, can't get messages from people who have me registered with ichat.
    My carrier (Rogers) says they have nothing they can do about it.
    Thanks in advance.

    Correction - iMessage, not iChat.  Too early....

  • Create a Setup Program, someone who have created a setup PGM in C# (VB)?

    Hi,
    Are there someone who have created a setup program in C# (VB)
    Thank you,
    Rune
    The program look like this...
        'EndInstall - Signals SBO that the installation is complete.
        Declare Function EndInstall Lib "AddOnInstallAPI.dll" () As Int32
        'SetAddOnFolder - Use it if you want to change the installation folder.
        Declare Function SetAddOnFolder Lib "AddOnInstallAPI.dll" (ByVal srrPath As String) As Int32
        'RestartNeeded - Use it if your installation requires a restart, it will cause B1 application to close itself after the installation is complete.
        Declare Function RestartNeeded Lib "AddOnInstallAPI.dll" () As Int32

    Hi Rune,
    i can't send you the code from my company. but its very similar to the frminstall.cs
    if you don't want to programm a setup exe you should try this:b1 development environment.
    i've never tried it because i develop everything on my own but i heard that it is possible to create very easy setup programms with it.
    https://www.sdn.sap.com/irj/sdn/businessone-tools

  • Can I get a list of users who have a specific authorization role?

    Hello,
    I'm wondering if there is a BAPI or FM that takes as input a single authorization role and gives me back a list of all users who have that role?
    Thx.
    Andy Jacobs

    hi,
    please check the below FM
    'PRGN_1001_READ_USER_ASSIGNMENT'
    jaffer ,
    Please reward the helpful answers.

  • List of users who have access to a specific universe

    Hello Experts,
    We have a requirement to get the list of the users who have access to a specific universe. Please suggest how to achieve this ?
    Is there any query to find this list by query builder or query to audit database ?
    We are using Business objects 3.1 sp5.
    Many Thanks
    Ankur

    Ankur,
    Refer to the discussion below:
    how to get a list of reports a user has access to, using either the cms database or the auditing database
    Regards,
    Ashvin

  • Need Webi formula to get list of people who are turning 65 next month

    Hi,
    I am trying to get the list of people who are turning 65 in the next month (not everyone who is 65) in Webi 4.1.  I have the formula to bring everyone who is 65 next month. If any one has any ideas, I really apprecite it.
    Thank you,
    Charvi.

    Hi
    You have variable to calculate people aged 65.
    1.Create same to calculate people aged 64
    2.Create Current month from Current date
       Month(Currentdate())
    then Convert to CurrentmonthNumber
    Then Next Month =Currentmonthnumber+1
    Then Write a variable to capture the month numbers from the date of birth.
    Now as a report filter Write Nextmonthnumber=Date of birth number.
    How it will work:
    If i am running In Feb then people having Date of birth month as 3 will be turning 65 right?
    So currentmonthNumber =2
    NextmonthNumber =Current month +1=3
    Date of birth Month number= Next month

  • How to get list of users who all are having full access in sharepoint site using client object model c#

    Hi,
    I want to fetch the list of users who all are having full access to the sharepoint list using client object model with .Net
    Please let me know if any property for the user object or any other way to get it.
    Thanks in advance.

    Here you are complete code i created from some years it lists all groups and users, you can just add a check in the permissions loop to see if it is equal to Full Control.
    Private void GetData(object obj)
    MyArgs args = obj as MyArgs;
    try
    if (args == null)
    return; // called without parameters or invalid type
    using (ClientContext clientContext = new ClientContext(args.URL))
    // clientContext.AuthenticationMode = ClientAuthenticationMode.;
    NetworkCredential credentials = new NetworkCredential(args.UserName, args.Password, args.Domain);
    clientContext.Credentials = credentials;
    RoleAssignmentCollection roles = clientContext.Web.RoleAssignments;
    ListViewItem lvi;
    ListViewItem.ListViewSubItem lvsi;
    ListViewItem lvigroup;
    ListViewItem.ListViewSubItem lvsigroup;
    clientContext.Load(roles);
    clientContext.ExecuteQuery();
    foreach (RoleAssignment orole in roles)
    clientContext.Load(orole.Member);
    clientContext.ExecuteQuery();
    //name
    //MessageBox.Show(orole.Member.LoginName);
    lvi = new ListViewItem();
    lvi.Text = orole.Member.LoginName;
    lvsi = new ListViewItem.ListViewSubItem();
    lvsi.Text = orole.Member.PrincipalType.ToString();
    lvi.SubItems.Add(lvsi);
    //get the type group or user
    // MessageBox.Show(orole.Member.PrincipalType.ToString());
    if (orole.Member.PrincipalType.ToString() == "SharePointGroup")
    lvigroup = new ListViewItem();
    lvigroup.Text = orole.Member.LoginName;
    // args.GroupsList.Items.Add(lvigroup);
    DoUpdate1(lvigroup);
    Group group = clientContext.Web.SiteGroups.GetById(orole.Member.Id);
    UserCollection collUser = group.Users;
    clientContext.Load(collUser);
    clientContext.ExecuteQuery();
    foreach (User oUser in collUser)
    lvigroup = new ListViewItem();
    lvigroup.Text = "";
    lvsigroup = new ListViewItem.ListViewSubItem();
    lvsigroup.Text = oUser.LoginName;
    lvigroup.SubItems.Add(lvsigroup);
    //args.GroupsList.Items.Add(lvigroup);
    DoUpdate1(lvigroup);
    // MessageBox.Show(oUser.LoginName);
    RoleDefinitionBindingCollection roleDefsbindings = null;
    roleDefsbindings = orole.RoleDefinitionBindings;
    clientContext.Load(roleDefsbindings);
    clientContext.ExecuteQuery();
    //permission level
    lvsi = new ListViewItem.ListViewSubItem();
    string permissionsstr = string.Empty;
    for (int i = 0; i < roleDefsbindings.Count; i++)
    if (i == roleDefsbindings.Count - 1)
    permissionsstr = permissionsstr += roleDefsbindings[i].Name;
    else
    permissionsstr = permissionsstr += roleDefsbindings[i].Name + ", ";
    lvsi.Text = permissionsstr;
    lvi.SubItems.Add(lvsi);
    // args.PermissionsList.Items.Add(lvi);
    DoUpdate2(lvi);
    catch (Exception ex)
    MessageBox.Show(ex.Message);
    finally
    DoUpdate3();
    Kind Regards, John Naguib Technical Consultant/Architect MCITP, MCPD, MCTS, MCT, TOGAF 9 Foundation

  • How to find out list of users who have access to particulat SID

    HI
    How to find out the list of users who has access, to a particular SID?
    Satish.

    jurjen,
    Thanks for replying, actually i was trying to navigate and execute the report using, SUIM...
    could you help me to find out the list of users who has access to a particular system.. using SUIM.
    satish.

  • List of users who have access to multiple mailboxes

    Hi,
    I got the list of around three hundred generic mailboxes
    Please help me with the command which can help me to get the report of all users who has access on those  generic mailbox.

    Hi,
    If you want to export these permissions to a csv file, you can use the following cmdlet:
    Get-Mailbox -ResultSize Unlimited | Get-MailboxPermission | Where {$_.user -notlike "NT AUTHORITY\SELF" -and $_.IsInherited -eq $false} | Select Identity,User,@{Name='Access Rights';Expression={[String]::join(‘, ‘, $_.AccessRights)}} | Export-Csv
    C:\MailboxAccess.csv -NoTypeInformation
    Hope this can be helpful to you.
    Best regards,
    If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Amy Wang
    TechNet Community Support

  • Until recently, when typing in a recipient name in an e-mail, you would only get the address of the person you wanted to mail.  Now you get a list of addressees who have been cc'd into previous e-mails.  Can it be switched off?

    Until recently, when entering an addressee into the "To" field on an e-mail, you would get a predictive list of addresses that start with the first 2 letters.
    Now I'm getting a long list of the addressee I'm after, plus combinations of other addresses that have been cc'd previously into e-mails going to that person.
    This is pretty confusing, and quite risky!!  It's easy to click on an addressee by mistake, and inadvertantly copy someone else into the e-mail by mistake.
    Is there any way to switch this off?

    Mail > Window > Previous Recipients
    Select the decedent's name then Remove from List

Maybe you are looking for

  • Problems Syncing New iPod Touch 5g

         Ever since I got my new iPod a few days ago I have been having an extremely hard time syncing my iPod. The first time I went to plug it in to sync, everything worked perfectly and all my songs and videos from my previous iPod were on my new one.

  • Time is incorrect each morning after Mountain Lion update

    Every morning my time on the top status bar is a few hours off. Sometimes it corrects itself within an hour after the computer wakes or I need to do a restart to get the correct time to display. When I try to click the time to display time properties

  • (SOLVED)How do I make a system snapshot?

    Hi, The latests udev scare has shown me two things: you can rely on the community to fix this (thanks Tobias!) and a good backup/snapshot is worth its wheight in gold. What manual do I read/study/understand to make a system snapshot before upgrading?

  • Increasing type with shortcuts not giving whole numbers

    Hi, Having an issue with Photoshop increasing and decreasing type shortcuts arriving at points of pixels (or points of points) when using the shortcuts. ie - 12px, 14.92px, 17.84px, etc rather than what which is common other software: 12px, 14px, 16p

  • Where to find an Error logs?

    Sometimes, when bpel crash i cant get it Audit Trails: "Audit trail is not available for this instance. This might be because either "Audit Level" configuration for BPEL is set to Off at the engine level or at the SOA Infrastructure level or due to e