How to list groups and members of the groups

Is there a way to list out groups by the group name and list out the members in those groups? I have been tasked with providing the group names and the members in the group on an Exchange 2010 server.

Here is my text capture exactly from my powershell after I copy and paste. You can see it starts to output the results in the console but also sends to the txt file. My guess is when you're copying and pasting there is a break somewhere.
[PS] C:\temp>write-output "" > C:\outputDGmembers.txt
[PS] C:\temp>get-distributiongroup | Sort -Property DisplayName | foreach {
>> $name = $_.displayname
>> $output = `Group Name: ` + $Name
>> write-output $output >> C:\outputDGmembers.txt
>> Get-DistributionGroupMember $name | Sort -Property DisplayName | Select Displ
ayName, Alias, Department >> C:\outputDGmembers.txt
>> write-output "" "" >> C:\outputDGmembers.txt
>> }
>>
WARNING: Object ipcfcdom.inphonic.com/Distribution Groups/ATTClientServices has
 been corrupted and it is in an inconsistent state. The following validation
errors have occurred:
WARNING: There is no primary SMTP address.
WARNING: Object ipcfcdom.inphonic.com/Distribution
Groups/[email protected]
has been corrupted and it is in an inconsistent state. The following validation
 errors have occurred:
WARNING: "[email protected]" is not valid for Alias. Valid values are:
Strings formed with characters from a to z (uppercase or lowercase), digits
from 0 to 9, !, #, $, %, &, ', *, +, -, /, =, ?, ^, _, `, {, |, } or ~. One or
more periods may be embedded in an alias, but each one of them should be
James Chong MCITP | EA | EMA; MCSE | M+, S+ Security+, Project+, ITIL msexchangetips.blogspot.com

Similar Messages

  • Command to list all email aliases /groups and members on the mail server.

    Hi,
    We are using SJS MEssaging server 6.2 .
    Which is the command to use to list all email aliases/groups and members on the mail server.
    Thanks,

    sureshsamuel wrote:
    We are using SJS MEssaging server 6.2 .
    Which is the command to use to list all email aliases/groups and members on the mail server.Email aliases/groups can exist in text files in the configuration directory of Messaging Server or be defined in the LDAP Directory Server. You can use the "commadmin group search" command to list the ldap groups (if you have Delegated Administration installed/configured), otherwise you can use a directory ldapsearch to find the groups.
    Regards,
    Shane.

  • How to copy RKF and to change the techincal name ?

    How to copy RKF and to change the techincal name ?

    Editing restricted key figures:
    Note that when you change a restricted key figure, these changes are effective in all queries that use this restricted key figure.
    You can see where the restricted key figure is used. Choose Where-used List from the context menu of the restricted key figure (secondary mouse click).
           1.      In the InfoProvider objects display frame, select the restricted key figure and, from the context menu (right-mouse click), choose Edit.
           2.      Make the required changes.
           3.      Choose OK.
    Pl. refer following link on help.sap.com
    http://help.sap.com/saphelp_nw04/helpdata/en/61/d0b143aa26b849b4e79a859ea1d7d1/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/2a/eabc3d9ecc6b3be10000000a114084/content.htm
    Regards,
    DN

  • How do my wife and i use the same ipad?

    How do my wife and i use the same ipad?

    Nothing keeps you from handing it "back and forth" to share. I do this all the time on our couch with my Wife's iPad...
    I think your quesiton revolves around having your own bookmarks and other data/info on the device. 
    The iPad is meant to be a "single user device"; there isn't a login/logout to differenciate one user from another.  "The iPad isn't a computer"..  ;-)
    But, that being said, there are lots of ways to share the iPad/iOS environment.  Many apps, such as Facebook, let you login and out..  so, while you share the same app, each of your login is different.
    For bookmarks and notepad it is a little trickier..  You can each use a different browser (so all of your bookmarks are complerety seperate.)
    In some cases I would sugest a couple get a $900 Macbook Air rather than an iPad if this sharing won't work.  "Why can't I log in and out of and iPad?".  I think that the fact that it doesn't gives the iPad many adantages over a computer.
    If you have more specific questions pleaser ask away.  Just like you share the kitchen table and many other things around your household, there are many ways to make this work!  ;-)
    Matt

  • How do I find and/or change the pre-set voltage selection switch in an HP TouchSmart IQ500 series

    how do I find and/or change the pre-set voltage selection switch in an HP TouchSmart IQ500 series (specifically an IQ524)
    This question was solved.
    View Solution.

    Doesn't it use an external AC Adapter? If so, all you should need to use in another country is an adpater plug to match the wall socket.
    ... an HP employee expressing his own opinion.
    Please post rather than send me a Message. It's good for the community and I might not be able to get back quickly. - Thank you.

  • How to install oracle817 and form6i on the one machine

    How to install oracle817 and form6i on the one machine?
    Machine is P4/W2K
    Thanks a lot

    You can do this as long as you install them in different Oracle homes.

  • How does Index fragmentation and statistics affect the sql query performance

    Hi,
    How does Index fragmentation and statistics affect the sql query performance
    Thanks
    Shashikala
    Shashikala

    How does Index fragmentation and statistics affect the sql query performance
    Very simple answer, outdated statistics will lead optimizer to create bad plans which in turn will require more resources and this will impact performance. If index is fragmented ( mainly clustered index,holds true for Non clustred as well) time spent in finding
    the value will be more as query would have to search fragmented index to look for data, additional spaces will increase search time.
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers
    My TechNet Wiki Articles

  • How to pass username and password with the portal url

    i want to access portal from my web site. i have created username and password fields in my web page. when submited , my portal page should open. so how to pass username and password with the portal url.

    This is not straightforward; but it is doable.
    First tell us about your portal version; portal 10.1.4 has a slightly different method of doing it and the pre-10g portals were completely different animals.
    And if you are in AS Rel 2, then the most important document for you would probably be the following:
    [Creating Deployment Specific Pages| http://download-west.oracle.com/docs/cd/B14099_19/idmanage.1012/b14078/custom.htm#i1015535]
    You might want to use it in conjunction with some metalink notes about your portal version and such a login page.
    hope that helps!
    AMN

  • How can I open and listen to the PDF documents with audio in my iPad?

    How can I open and listen to the PDF documents with audio in my iPad?

    You need to use a PDF reader that supports multimedia. Adobe Reader 10.3 does not. Adobe has not stated whether it will support multimedia in the future.
    In the meantime, you could buy an application that does like PDF Expert. Read about it here:
    Finding the Best Tablet PDF Reader

  • Any one know how to load pics and music on the iphone 4

    anyone know how to load pics and music on the iphone 4 if so can you please help

    If you have ever owned and used an iPod, done the the same way as with an iPod.
    You should spend some time with the user guide.
    http://manuals.info.apple.com/en_US/iphone_user_guide.pdf

  • I can't sync my iPad to the iTunes it's give me an unknown error  message 0xe8000012 I don't know how to fix it and where is the problem could be need format or the problem is in the charging port please can any one help me

    I can't sync my iPad to the iTunes it's give me an unknown error  message 0xe8000012 I don't know how to fix it and where is the problem could be need format or the problem is in the charging port please can any one help me

    Unknown Error containing "0xE" when restoring
    To resolve this issue, follow the steps in iPhone, iPad, iPod touch: Unknown error containing '0xE' when connecting. If you have a Windows computer with an Intel® 5 series/3400 series chipset, you may need updates for your chipset drivers. See iTunes for Windows: Issues syncing iOS devices with P55 and related Intel Chipsets for more information.
    From Here  >  http://support.apple.com/kb/TS3694

  • OnChange() event how does it work and what is the syntax

    hi,
    i have a field (County) on a form in a jsp page that needs to get all its values from the database and present it to the user also i have another field (year) this also needs to get all its values as a drop down from the database.
    i dont have any lib tag available to use and can't afford the time to set this up. so just have to script in jsp or use beans in jsp.
    my question is 2fold
    Q1. - i was thinking of having a DataAccess (dA) object to run a sql to select * distict couties ...
    also have another query in DataAccess select * Distinct year....
    and in the jsp instantiate the (dA) and iterate through and fill the select drop down box - how to code this syntax i'm not sure and if this is the correct approach or the only approach would appreciate some sample code that i can mess around with thanks.
    - is above approach best way of doing this. - also taking into account Q2.
    Q2 - when the user selects county then i need to fire a onChange event - probably using javascript but not sure how this works - bascially i need to then update the year drop down according to the below sql-
    again how is this possible - and is this the best approach or will it be too many calls to the database - especially consdering that the forms are all part of a search tool.
    SELECT     DISTINCT     v.year
    FROM          v_volumes     v
    WHERE          v.county     = <the selected county>
    OR          (v.county_reference     =
                   (SELECT     ca.county_reference
                    FROM          county_aliases     ca
                    ,          counties     c
                    WHERE     ca.county_reference_also_called     = c.county_reference
                    AND          c.county     = <the selected county>)
    ORDER BY v.year

    Sorry to rain on your parade, but its not going to be quite that simple.
    Populating a second dropdown depending on the first one, has been discussed quite in depth on this forum, I suggest you do a search to look at older posts.
    Javascript code cannot call java/database code from an onclick event.
    The best it can do is trigger a form submission, which reloads the page
    running any java/sql code that displaying the page entails.
    So onlick event on the first dropdown triggers a form submit, which loads the page with the correct values in the second dropdown.
    con: requires a page request
    The other approach is to download ALL possible values to the jsp page, and have javascript handle the swapping of values.
    pro: no page refresh needed
    con: must have all data available on the page. javascript is a bit more complicated.
    Hope this helps,
    evnafets

  • How can I copy and Paste in the newly converted PDF to WORD?

    How can I copy and paste in the newly converted document?  I can save it to any Word format and cut within it, but not paste what I just cut or copy and paste.

    Try copying all of the content in your Word document to a new document, then see if you can selectively copy and paste.
    Let us know if that helps!
    -David

  • Oracle Trigger - How can I capture and correct on the fly  ORA-01847

    Oracle Trigger - How can I capture and correct on the fly ORA-01847 day of month must be between 1.
    I have a table that has a date column. Sometimes an invalid date is passed and I'd like to capture and initilize the incoming value to null and have it inserted without error. Currently I get ORA-01847 day of month must be between 1.
    Example:
    create table ep1
    col_1 number,
    col_2 date
    Now if a user does the following, I want no error to occure but rather for the date value to be set to null and inserted.
    insert into ep1 values('1', '41-JAN-13')
    The insert may come from any client and I can't change the calling code hence can't used a precedure to replace the insert. I'm guessing there is some way to catch system level exceptions on the DB level. This doesn't need to be nice, it just needs to work.
    Here is the question on experts exchange. I'm told there is no way, but there must be. After all the exception is on a DB system level and I would think one could extend or override these, or disable them.
    http://www.experts-exchange.com/Database/Oracle/PL_SQL/Q_23045306.html

    SQL> declare
      2     wrong_month      exception;
      3     pragma exception_init (wrong_month, -1843);
      4  begin
      5    begin
      6      insert into emp (empno, hiredate)
      7      values (2345,to_date('13/25/81','MM/DD/YY'));
      8    exception
      9      when wrong_month then
    10      dbms_output.put_line('I caught the bad month');
    11      insert into emp (empno, hiredate)
    12      values (2345,null);
    13    end;
    14  end;
    15  /
    I caught the bad month
    PL/SQL procedure successfully completed.
    SQL>
    SQL> select * from emp
      2  where empno = 2345;
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM     DEPTNO
          2345Note the 1843 error vice 1847. It can be done outside of a trigger.

  • How to stream Webcam and Desktop at the same time?

    Hey Guy,
    I just got a little Problem with  FMLE... I want to stream live during a Game, but I dont know how to stream Desktop and Webcam at the same time ^^. The streaming Platform i want to use is twitch.tv.. the most common Gamin Platform I think...
    I got an IMac i7.
    Pls help me   I dont get how all these ProGamer do it -.-
    Thanks in advance
    Kathi

    You're going to need additional software or hardware.  If you're running a Macintosh, try CamTwist.  It's free and allows you to create virtual "cameras" from just about anything you can see on your computer.  It's a bit clunky getting used to the interfact and how it works, however.
    Hardware solutions (like scanline converters and video switchers) can get pretty expensive.  So you may want to go with a piece of software that can handle on-the-fly video compositing/switching.  There are two applications that come to mind right off the bat -- and lucky for you, both of them can also output to a live streaming server. 
    Wirecast is a popular choice, although the pricing starts around $500.  It's Macintosh/Windows.
    A very popular choice among gamers is XSplit (Windows only) and is a subscription-based model (you pay a small fee by the month, quarter, or year).  XSplit has some very impressive compression happening under the hood, and was originally designed for gamers who wanted to share their desktop, XBOX, or PS3 adventures... all while also being able to lay over banners, PIP (picture-in-picture) of themselves, or anythhing else they wanted to clutter the screen with.
    If you're running on Windows, give XSplit at shot.  It can easily handle your desktop (or most anything else) as a "camera" as well as being able to lay your webcam on top of the desktop feed.

  • How to post aquisition and depriciation at the same time

    Hi Gurus,
    Could you please let me know how to post aquistion and depriciation at the same time.

    Hi
    What do you mean by postin at a time, is it uploading the balances to SAP
    if not there is no question of posting at a time
    Thanks
    Kameshwar Rao

Maybe you are looking for

  • Connection between iphone and ipad

    I can´t connect ipad and iphone with bluetooth. What can I do?

  • JDeveloper Mapping Workbench - Create Table References?

    How can I create a Table Reference in JDeveloper's Mapping Workbench? For example, I have ITEM and ITEM_DETAILS tables. The DB does not have a FK defined from ITEM_DETAILS and ITEM. So I need to create the Toplink Table Reference myself. In the stand

  • Semaphore Error after upgrade

    Getting this error on Boot Jul 07 09:12:03.413 spam.c:449 LWAPP-2-SEM_CREATE_ERR: Could not create semaphore for notifying AP registration then Jul 07 09:14:40.565 apf_spam.c:934 APF-1-NOT_ADV_SSID_ON_AP: Not advertising SSID ANF on AP 00:1a:e3:02:92

  • Dynamic URL not working in email

    I have a question on dynamic URL. In my report I have a help image which has hyperlink (when you click on the image which will take you to a help PDF file on the SharePoint) . This hyperlink is working fine in the browser but when I email the report 

  • Logic goes nuts when changing between 96k to 44.1k

    Hi, I need to restart my computer a few times until it finally allows me to move between sample rates (some arrangements are 44.1k most are 96k.) I'm using Logic 8, PT 7.4 HD3 accel. Any thoughts would be welcome. Cheers M Message was edited by: mbla