Generate Excel which Shows ADUsers and his Groups in a Matrix with AllGroups

Hi There.
I Need an Excel table for managemet, which Shows the following:
The Colums should be named as Username ActiveDirectory and some Properties and ALL Groups which are availible in Active Directory
Each row should then contain Username and in the Column of Group an "X" or somthing else, if the user is in the Group - like a Matrix.
Username,Firstname,Lastname,Group1,Groups2,Group3,Group4...
Username1,Firstname1,Lastname1,,x,,x.. -- User1 is in Group2 and Group4
Username2,Firstname2,Lastname2,x,x,x,x... -- User2 is in Group 1-4
I thought about generating an Hashtable with all AD-Groups and a Hashtable with User and his AD-Groups, but I don't know how to match them.
Have anyone an idea?
Thanks.

Hi,
I would like to suggest you go through the below link:
http://bradkingsley.com/using-powershell-to-list-group-membership-from-active-directory-ad/
Please try the script in it.
Hope this helps.
Regards,
Yan Li
If you have any feedback on our support, please click
here
Cataleya Li
TechNet Community Support

Similar Messages

  • How can I set screen saver clock which show time and date when all screen is black. Other phones have this option but I didn't find on iphone. Pl guide.

    How can I set screen saver clock which show time and date when all screen is black. Other phones have this option but I didn't find on iphone. Pl guide.

    HA!  I figured the find my iphone out!!!!! You can have more than one icloud account in "Mail, Contacts and Calendars".  So my husband's & kids' phone icloud account under "settings, icloud "is their individual @me.com account.  Set it to everything you want EXCEPT Find My Iphone.  Then under "settings, mail/contacts/calendars" you set up both accounts (your @me.com which may already be there), then add another with the main appleID and enable ONLY Find My Iphone.  Now when any of us log into Find My Iphone from any device with our main apple ID for the app store, all the devices show up!!!! YIPPEE.  I made my own day!
    I think the message I got previously was because I hadn't disabled the find my iphone on the @me.com account first.

  • EDK/PRC  way to find user and his groups

    I need the infomation about the current userID and username who is logged in and his groups (name of group) in a portlet.
    If I call this function "ipContext.getRemotePortalSession();" the Tomcat Log write a JasperException.
    What's wrong?
    IPortletContext ipContext = PortletContextFactory.createPortletContext(request, response);
    IRemoteSession irSession = ipContext.getRemotePortalSession();
    IUserManager userManager = irSession.getUserManager();
    int[] userGroupIDs = userManager.getCurrentUserGroups();
    intuserID = userManager.getCurrentUserID();

    We use the PT Portal version 5.02 with Hotfix #137075
    The stacktrace in tomcat log:
    Remark: The "topNNews_jsp" is the JSP for the portlet.
    2004-08-11 17:07:52 StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exceptionorg.apache.jasper.JasperException at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:254) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2422) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:163) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:199) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:700) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:584) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683) at java.lang.Thread.run(Thread.java:534)----- Root Cause -----javax.servlet.ServletException at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:536) at org.apache.jsp.topNNews_jsp._jspService(topNNews_jsp.java:199) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2422) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:163) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:199) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:700) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:584) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683) at java.lang.Thread.run(Thread.java:534)

  • I created a large Flash Pro file which includes buttons and I want to share it with others

    I created a large Flash Pro file which includes buttons and I want to share it with others. It's too big for e-mail and youtube and dropbox don't support fla files. I'm new to Flash and I would appreciate a simple solution!
    Thank you!

    Thank you! But based on the link you gave me it seems like I should only have to do step 1 since I am not trying to embed my file into a web page. After I uploaded the SWF file to the Google Drive it still will not play. It keeps opening in Adobe Device Central and won't play anything. Should I go ahead and do step 2?
    I really just want the video available to share with others. It seems like this shouldn't be very difficult.
    Thanks!

  • Standard T-code of Fix Asset report which shows Quanity and Value

    Hi friends,
    Is it any T-code in SAP which shows Fix Asset with quality and value.
    regards
    Hemant Maurya

    Hi,
    All standard SAP asset reports show values for Eg.S_ALR_87011990. To display quantity you may create a sort variant with quantity as one of the fields through S_ALR_87009120. You can then run the above report i.e. S_ALR_87011990 with this sort variant to display quantities also along with values.
    regards,
    Swati

  • Report that shows managers and his/her Employees

    Hello All,
    Is there any standard report that shows the list of managers and his employees.
    Eg:
    Report should like below
    ManagerObjID EmployeeObjid
    When I enter a position of a manager it should give managers and employees belonging to that position.
    Thanks
    Venkat

    hi,
    u can that details from HRP1001 table.
    or u can use function module RH_STRUC_GET .

  • Whats the table name which connects BP and customer group code?

    Hi,
    Please let me know the table name which connects BP and its customer group code, i tried CRMM_BUT_SET0010 but i am not sure how to get "GUID for sets of business part"
    regards
    Vinay

    Hi Vinay
    Try instead table vision CRMV_BUT_SET0010. There you can use as search criteria the business partner number.
    However, if you want to understand the partner relation with guid_set value, just study how this table vision join is built.
    Kind regards,
    Garcia

  • Table name in which function module and function group store

    Hai,
    Any one help me, What is the table name, the function modules and fouction groups are stored.
    Thanks,
    Elamaran

    ...and table enlfdir has additional info.... function module RS_GET_ALL_INCLUDES is useful for getting a list of includes used by an fm.
    Message was edited by: Neil Woodruff

  • When I open a new tab, my pins do not show up, and I cannot find the square with the 9 boxes to turn it on at the top, what do I do

    When I open a new tab, the page is blank, and I cannot view my pins. I tried searching for the box with the 9 squares in it at the top of the screen to turn it back on, but it does not show up. How do I get my pins back?

    Hello,
    First go to '''Tools''' >> '''Options''' >> '''Privacy''' >> '''Firefox will''' change to '''Remember history''', then go to '''about:config''' and search for '''browser.newtab.url''' change its value to '''about:newtab'''.
    *[http://kb.mozillazine.org/About:config about:config]
    Also:
    *[https://support.mozilla.org/kb/new-tab-page-show-hide-and-customize-top-sites New tab page]

  • Query to show BP and discount groups where appropriate

    Hi Experts,
    I need some help in setting up a query to show me whether or not a BP has anything in special prices for business partners.
    Essentilly I just need to report the BP Code, BP Name and Y or N as to whether they have item codes in special prices for BPs.
    Thanks
    Jon

    Hi Jon,
    Try this one:
    SELECT T0.CardCode, T0.CardName, Case WHEN (T0.CardCode NOT IN (SELECT T1.CardCode FROM OSPP T1)) THEN 'N' ELSE 'Y' END AS 'Y/N'
    FROM dbo.OCRD T0
    Thanks,
    Gordon

  • Which Wireless router and WLAN card should i use with my Satellite 1800?

    TOSHIBA SATELLITE 1800-314
    I NEED TO KNOW WHICH WIRELESS ROUTER I SHOULD BUY AND PC CARD I SHOULD BUY.
    MY CD/DVD ROOM DOESN'T READ DVDS. THANKS.

    Hi,
    normally it doesn't matter which router or PC card you use, they all should work.
    I'm using a card from Netgear, never had any problems with it.
    Bye

  • Hi, i have inserted a dvd in the drive, which has data in it but its showing blank and asking toburn

    Hi, i have inserted a dvd in the drive, which has data in it but its showing blank and asking to burn. Along with that its also showing the capacity of the dvd. Its ready to write the disk but not exploring the data on the disk. Please help..

    See if this fixit tool can repair it
    http://support.microsoft.com/mats/cd_dvd_drive_problems/en-us

  • Query to show stock value per group

    Hi Experts
    Would it be possible to create a query which would show me the stock value per item group in SAP?   I know this can be done through Stock Audit report etc, but as we have over 300 item groups I would like to see a report which show me only the group name and the stock value within that group.
    Thanks
    Geoff

    Hi Gordon,
    The 2% will be because in almost all cases the query is using Last Purchase Price to calculate the value, but the stock balance on 130000 account in Financials is being generated from the FIFO values of stock.   It is a problem we come up against a lot in calculating stock values - we probably wouldnt have gone down the FIFO route originally had we known!
    Regards
    Geoff

  • Report which shows the discounts taken

    Hi All
    Is there a report for AP which shows the list of invoices that we paid with a discount?

    This report will do you work, this is tab in layout, called cash discount, add that to display.
    Thanks
    Nishan dEv

  • Show details from a Report in some items with OnMouseOver-Event

    Hi,
    I am partially successful.
    I have a report where I show LAST_NAME and FIRST_NAME. If I move with the mouse over the report I want so see some details (salary and job) in display-only-items under this report.
    Take a look in this screenshot:
    Screenshot
    This is working if the mouse is over the word of a last name, as example "King" Then I see the details for King. But I want to see also the details, if I am not exactly over the word "King", this have to work also for the whole row. How can I do this? Is there a event "OnMouseOverRow" for tables or like this?
    Here is the select for the report:
    select '<span onmouseover=details("' ||
              e.employee_id || '","' ||
              e.salary      || '","' ||
              e.job_id      || '");>' ||
              e.last_name || '</span>' as last_name,
           e.first_name
    from oehr_employees eAnd this is the JavaScript:
    function details(id, gehalt, job){
      html_GetElement('P1_JOB').value = job;
      $x('P1_JOB_DISPLAY').innerHTML = job;
      html_GetElement('P1_GEHALT').value = gehalt;
      $x('P1_GEHALT_DISPLAY').innerHTML = gehalt;
    }Regards,
    Mark
    Edited by: pinnom on Nov 24, 2011 1:56 PM

    bump
    Thanks.

Maybe you are looking for

  • The Durability of Macbooks is not worth the money.

    I was playing xbox on my couch with my mac book beside me, i moved my elbow and is slid off the couch and landed on it's back and the screen slammed shut. This was probably a 1.5 ft drop into well-cushioned carpet. I pick it up and now my screen is t

  • Color failures

    I'm seeing an odd behavior. While putting together a 10 page site, a number of separate pages have lost their text colors and rollover colors, seemingly spuriously. Page 1 has a table of contents of sorts, and a mild tinted letter color came back pur

  • A volume control for metro apps?

    I can't seem to locate any way of controlling the volume of most metro apps in the volume mixer. Is this something known? I searched the forums and couldn't find a solution. A friend says the same issues are there in Windows 8.

  • Standby ASA keeps crashing

    Hello, I have 2 x 5510's in ative/standby mode, things look fine until the active one needs to be failed over and I realise the standby oneis dead.  I never notice as the lights on the ASA look good, I only nice as I can't telnet or console onto it,

  • Hi. My macbook pro will not open the video files taken on a panasonic hd-sd10. is there a mac version of hd writer software that comes with the panasonic camcorder?

    Hi. My macbook pro will not open the video files taken on a panasonic hd-sd10. is there a mac version of hd writer software that comes with the panasonic camcorder? Could do with some ideas. Thanks