Get-AdGroupMember -recursive doesn't return membership for some nested groups.

I have the following setup:
Test Parent Group (Group)
  - John Doe (User)
  - Domain Users (Group, contains 1000s of users)
When I call: Get-AdGroupMember "Test Parent Group" -recursive
Only John Doe is returned.
Thoughts?

First, it seems that Get-ADGroupMember in a recursive mode does not return object with the class group. So only the actual members are returnd not the groups.
Second, with the -recursive, Get-ADGroupMember reads the member attribute of each nested groups. Users are not a member of Domain Users through the member attribute but through the primaryGroupID attribute. Thus you list the members of Domain Users if you
target it directly Get-ADGroupMember -Identity "Domain Users" but not when this one is nested. I don't know if there is a documentation about this.
Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.

Similar Messages

  • How can I get (using API) the current sort column for some report

    hello,
    How can I get (using API) the current sort column for some report ? For example something like "fsp_sort_1_desc" - if the user sorts by the first column ?
    I cannot use the :REQUEST for this, sometimes the current sort column is not in the :REQUEST, but it is still active.
    I thought it was posssible by using
    APEX_UTIL.GET_PREFERENCE (
    p_preference IN VARCHAR2 DEFAULT NULL,
    p_user IN VARCHAR2 DEFAULT V('USER'))
    RETURN VARCHAR2;
    function, but I don't really know which preference should I pass as parameter.
    looking in WWV_FLOW_PREFERENCES$, i saw preferences_names like FSP4000_P527_R6281510839654570_SORT , I'm not sure how this name is formed.
    I'm using generic columns for that complex report (which has a flexible number of columns shown), and the idea is that sometimes I have to overwrite that sort column, in case the user chose the version of the report with fewer columns than the previous one.
    Can I get (using API) a list of all preferences set for some user ?
    Thank you,

    seems that it is FSP<app_number>P<pagenumber>R<regionnumber>_SORT.
    is there anyplace where I can get these kind of things documented ?
    Thank you.

  • Can I have a decreased / cheaper monthly priced membership for some time, by keeping active only Photoshop CC, Illustrator CC, InDesign CC and Acrobat?

    Hello, and good evening from Athens, Greece.
    I would like to ask a question concerning my CC membership.
    I’ve started 1 and a half year ago by paying 29,99 € for the entire CC (all programs). Now, it’s 49,99 € and I’m having a really difficult time to keep it this way. I’m living in a country which is in the middle of crisis and my profession as a graphic designer, is not an exception to reduced spendings on advertising.
    My question is, can I have a decreased / cheaper monthly priced membership for some time, by keeping active only Photoshop CC, Illustrator CC, InDesign CC and Acrobat? I don’t need for now the other apps. Can I have a membership plan only for those applications? I would very much appreciate your respond, a help and a solution to my issue.
    Thank you very much.
    Michael.
    P.S. Forgot to tell, that I have a purchased Design Standard CS3 Suite. If this helps.

    No... there is a special Photography plan
    Special Photography Plan (includes Bridge)
    http://helpx.adobe.com/photoshop/kb/differences-photoshop-creative-cloud-photography.html
    Every thing else is all or nothing
    Cloud Plans https://creative.adobe.com/plans
    -and subscription terms http://www.adobe.com/misc/subscription_terms.html
    -what is in the entire Cloud http://www.adobe.com/creativecloud/catalog/desktop.html

  • I have a i-phone 5s which i got recently. Everytime i try to update my apps that i got on my 4s on the new5s i get message to fill in a password for some unknown gmail id. How do I get my  apple id back for my apps?

    I have a i-phone 5s which i got recently. Everytime i try to update my apps that i got on my 4s on the new5s i get message to fill in a password for some unknown gmail id. How do I get my  apple id back for my apps?

    That means that one or more of these apps was obtained using that ID. All apps are forever tied to the ID used to originally obtain them & they cannot be transferred to another ID. Your only option is to delete this content, then re-purchase using your ID.

  • Get-ADGroupMember -recursive Show Groupnames

    I'm new to Powershell and im trying to get a list of the Members of some AD-Groups. Each Group is related to two other Groups for Read and Change permissions. Like FS101_EXAMPLE has two members wich are FS101_EXAMPLE_C and FS101_EXAMPLE_R
    So far I've got the following Code:
    import-module ActiveDirectory
    $GRP = "Groupname"
    Get-ADGroupMember $GRP -recursive | select objectclass,name | export-csv C:\Scripts\Exports\$(get-date -f yyyy-MM-dd-hh-mm-ss)-$GRP.txt –NoTypeInformation -Encoding UTF8
    If i scan on "FS101_EXAMPLE" it works and i get a list of all Members of FS101_EXAMPLE_C and FS101_EXAMPLE_R but i should know how's in wich group.
    How can I get a List with the Groupnames on it?

    If I understand you correctly, it sounds like you're getting the list of members from FS101_EXAMPLE, and recursively returning the members of groups within this first group. Your output lists the users but doesn't distinguish from which group they belong.
    I'm looking at Get-ADGroupMember and I see this behavior as well. I have ADPrincipal objects but there's not way on the surface to see their group membership.
    There are likely a number of ways to reach your goal, here is one way using a recursive function.
    function Get-ADGroupMembers {
    param(
    [string]$GroupName
    $objects = @()
    $members = Get-ADGroupMember -Identity $GroupName
    foreach ($member in $members) {
    if ($member.objectClass -eq "group") {
    $objects += Get-AdGroupMembers -GroupName $member.Name
    $objects += @{
    "objectclass" = $member.objectClass;
    "name" = $member.Name;
    "group" = $GroupName
    } # foreach
    return $objects
    } # Get-AdGroupMembers
    Import-Module ActiveDirectory
    $GRP = "Groupname"
    $AllMembers = Get-ADGroupMembers -GroupName $GRP
    $AllMembers | Foreach-Object {New-Object psobject -Property $_ } | Export-Csv C:\Scripts\Exports\$(get-date -f yyyy-MM-dd-hh-mm-ss)-$GRP.txt –NoTypeInformation -Encoding UTF8
    What I'm doing here is I've created a recursive function Get-ADGroupMembers (maybe not the best name) that calls Get-ADGroupMember against the given group. It then gets the members, collects the properties we want and adds them to an array which the function
    returns. If there is a group in the group, it will call the function again with this subgroup. 
    I'm storing the properties you want, objectClass, and Name, as well as the name of the group in a hashtable. The function returns the array of hashtables which I then convert to an object and export to CSV (HT powershell
    convert array of hastables into csv).
    Jason Warren
    @jaspnwarren
    jasonwarren.ca
    habaneroconsulting.com/Insights

  • Disco Report doesn't return data for a responsibilty

    Hi Guys,
    We have a report, we have shared with XXX Tax Manager. When we login through XXX Tax Manager, it doesn`t return data. But when we do similer with XXX Payables Manager, report runs fine and return data?
    Can any one help me on this.
    Note: Both Responsibility have access to the Business Area.
    Thanks,
    Nick

    Please find the below query:
    SELECT /*+ NOREWRITE */
    o101613.expense_account_num AS e264170,
    o271954.description AS e271961, o271954.po_number AS e272013,
    o271954.project AS e272033, o271954.task AS e272035,
    o271954.expenditure_type AS e272036, o272183.amount AS e275461,
    (o272183.gl_date) AS e275566, (o272183.invoice_date) AS e275578,
    o272183.invoice_id AS e275580, o275448.invoice_id AS e275581,
    o272183.invoice_number AS e275584,
    o272183.self_assessed_flag AS e275674,
    o272183.ship_to_location_code AS e275681, o272183.state AS e275685,
    o272183.tax_amount AS e275695,
    o272183.tax_jurisdiction_code AS e275698,
    o272183.tax_rate AS e275700, o272183.vendor_name AS e275720,
    o272183.vendor_number AS e275723, (o278494.gl_date) AS e278500,
    o278494.liability_account AS e278501
    FROM apfg_ap_invoices o101612,
    apfg_ap_invoice_distributions o101613,
    apps.ap_invoice_lines_v o271954,
    (SELECT ap.invoice_id, aps.vendor_name, aps.segment1 vendor_number,
    ap.invoice_num invoice_number, ap.invoice_date, ap.gl_date,
    apl.amount amount, zxl.tax_amt tax_amount,
    zxr.percentage_rate tax_rate, zxl.tax_jurisdiction_code,
    apl.ship_to_location_code, zxl.self_assessed_flag,
    hzg.geography_element2_code state, apl.line_number
    FROM ap.ap_suppliers aps,
    ap.ap_invoices_all ap,
    zx.zx_lines zxl,
    apps.ap_invoice_lines_v apl,
    zx.zx_rates_b zxr,
    zx.zx_jurisdictions_tl zxj,
    zx.zx_jurisdictions_b zxb,
    ar.hz_geographies hzg
    WHERE aps.vendor_id = ap.vendor_id
    AND ap.invoice_id = zxl.trx_id
    AND zxl.trx_id = apl.invoice_id
    AND zxl.trx_line_number = apl.line_number
    AND zxl.entity_code = 'AP_INVOICES'
    AND zxl.event_class_code = 'STANDARD INVOICES'
    AND zxl.self_assessed_flag = 'Y'
    --AND zxr.tax_rate_code         = zxl.tax_rate_code
    AND zxr.tax_rate_id = zxl.tax_rate_id
    AND zxj.tax_jurisdiction_id = zxl.tax_jurisdiction_id
    AND zxb.tax_jurisdiction_id = zxj.tax_jurisdiction_id
    AND zxb.zone_geography_id = hzg.geography_id
    AND zxl.tax_amt <> 0
    AND apl.line_type_lookup_code IN
    ('ITEM', 'FREIGHT', 'MISCELLANEOUS')
    AND apl.line_source IN
    ('HEADER MATCH',
    'MANUAL LINE ENTRY',
    'IMPORTED',
    'CHRG ITEM MATCH'
    AND ap.cancelled_date IS NULL
    ORDER BY aps.vendor_name, ap.invoice_num) o272183,
    apps.ap_invoices_v o275448,
    (SELECT xte.source_id_int_1 invoice_id, gcc.code_combination_id,
    xte.transaction_number, xal.accounting_date gl_date,
    gcc.segment1
    || '.'
    || gcc.segment2
    || '.'
    || gcc.segment3
    || '.'
    || segment4
    || '.'
    || segment5
    || '.'
    || segment6
    || '.'
    || segment7 liability_account
    FROM xla.xla_transaction_entities xte,
    xla.xla_ae_headers xah,
    xla.xla_ae_lines xal,
    gl.gl_code_combinations gcc
    WHERE 1 = 1
    AND xte.entity_id = xah.entity_id
    AND xte.application_id = xah.application_id
    AND xah.ae_header_id = xal.ae_header_id
    AND xal.accounting_class_code = 'SELF_ASSESSED_TAX_LIAB'
    AND xal.code_combination_id = gcc.code_combination_id) o278494
    WHERE ( (o101612.invoice_id = o101613.invoice_id(+))
    AND ( o101613.invoice_id = o271954.invoice_id
    AND o101613.invoice_line_number = o271954.line_number
    AND ( o272183.invoice_id = o271954.invoice_id
    AND o272183.line_number = o271954.line_number
    AND (o272183.invoice_id = o275448.invoice_id)
    AND (o278494.invoice_id = o275448.invoice_id)
    AND (o101613.dist_line_type_code IN
    ('ITEM', 'FREIGHT', 'MISCELLANEOUS'')')
    AND (o101612.invoice_number = :"Invoice Number ")
    AND ((o272183.gl_date) <= :"Ending GL DATE")
    AND ((o272183.gl_date) >= :"Beginning GL DATE")
    ORDER BY o271954.project ASC, o272183.invoice_number ASC;
    It does not contain any security profiles, only contains view that might be not returning data.
    thanks

  • Scorecard doesn't display data for some selections

    Hi,
    I have configured a scorecard to display detail data (product quantities for 4 quarters) based on different parameter (product code) selection in other master scorecard. The detail dashboard doesn't display data for all the product codes. It's weird even data is there for the same product code where the scorecard is mapped in the excel however doesn't display. Appreciate if any of you can help me to overcome the issue.
    Technology: SAP Dashboard 4.1 SP4, Oracle 11g
    Thanks,
    Anurag

    Hi Anurag
    Have you taken an excel snapshot and checked if the master scorecard has the rows you expect to see in the detail sorecard?
    Thanks
    Runali

  • Configure Search Depth for AD Nested Groups (VDI 3.1)

    Hi there,
    I'm trying to increase the search depth when resolving nested group memberships for pool access.
    If I run
    bash-3.00# /opt/SUNWvda/lib/vda-client -u user1
    Password:
    No desktop found for user1
    user1 is a member of a group called ServiceTech which is a member of VDIUsers which has a pool assigned.
    I have read over the various docs on the wiki and the ldap filters all appear to be set correctly for Active Directory.
    Any ideas would be very welcomed.
    Thanks for your time.
    Kim

    Hi Kim,
    SGD doesn't enable nested group searches by default, so to enable it you have to increase the depth. If VDI has a fixed depth of 3, this should cover the case above. Can you provide the user directory logging from VDI? This should help us see what the issue is.
    Thanks,
    -- DD

  • Please help: DataInputStream doesn't return response for remote device

    Hi all,
    Please advise what is my mistake.
    I am about to send a command to and get respond from my embedded kit (Arduino Wiznet Wifi Kit)
    I can send command and get respond through a Telnet.
    But i can only send command but not getting respond if i am about to write a java program to do the same thing with socket programming.
    Below is my code, please advise for my mistake.
    Many thanks!
    public static void startTCPCommunication(String ip) throws UnknownHostException, IOException{
         InetAddress thoseIp = InetAddress.getByName(ip);
         // IO streams
         DataOutputStream toServer;
         DataInputStream fromServer;
         String entered=""; // Declare & initialize a String to hold input.
         Scanner input=new Scanner(System.in); // Decl. & init. a Scanner.
         try {
              System.out.println("Socket created");
              Socket socket = new Socket(ip, 5000);
              // Create an input stream to receive data from the server
              fromServer = new DataInputStream(socket.getInputStream());
              // Create an output stream to send data to the server
              toServer = new DataOutputStream(socket.getOutputStream());
              while(true){
                   System.out.println("Please enter : ");
                   entered=input.nextLine(); // Get what the user types.
                   // Then say something trollish and use their name.
                   System.out.println("You have entered : " + entered + "!");
                   // Send the command to the server
                   toServer.writeUTF(entered);
                   System.out.println("Done with Send");
    // Get the response from server
                   String response = fromServer.readUTF();
                   System.out.println("Retruned : " + response);
         catch (IOException ex) {
         System.out.println("Unable to create socket.");
    The returned result only reaches System.out.println("Done with Send");
    The function stucked and not going to loop for second time.
    Please advise how can i modify my code and pin point my mistake please.
    Thanks a lot!

                       // Send the command to the server
                       toServer.writeUTF(entered);
                       System.out.println("Done with Send");
    // Get the response from server
                       String response = fromServer.readUTF();
                       System.out.println("Retruned : " + response);Check the Javadoc. writeUTF() doesn't send anything a Telnet server will understand, and a Telnet doesn't send anything that readUTF() will understand. They only understand each other. Use write(), and append a newline.

  • VISA get resource name doesn't return USB serial ports

    We built an application on a computer that had an onboard serial port - COM1.  We put the option to change the COM port in the application.  We installed the built application on a computer with no serial ports, but installed a USB to serial converter that registers as COM3.  LabView does not see this port, even with a test application to return only the VISA resource names. 
    We have verified that the port is good with another program (a Modbus simulator) and installed the latest VISA runtime v4.41 separately to no avail.
    Any suggestions at further troubleshooting would be extremely helpful.
    Joe T.
    Solved!
    Go to Solution.

    My main application still isn't working, but now the small test ones are.
    Here's what I did:
    1.  Update my LabView 8.5 with the latest VISA runtime - 4.4.  This updated the Installer as well.
    2.  Added the MAX Installer to the build.
    3.  Added  the NI-VISA Configuration Support to the build
    4.  Uninstalled the application and reinstalled it with the new install volume.
    When I run MAX, COM3 shows up.  It also shows up in the Get Resources test application.  The simple test Modbus write program works, too.  I have a sneaky feeling that COM1 may be hard-coded somewhere in the main application; our next task is to find where the communications breaks down in our code.  The bottom line seems to be a lack of experience with the Application Builder on our part.
    Thanks to all who contributed!
    Joe T.

  • Cant get artwork on my mac book pro for some discs,yet I can on my I-mac.I have tried  finding artwork. any ideas/

    Hi. I have   a problem with my mac book pro snow leaopard,I  cant get it to get the artwok for my new C/D,I have tried all I can.
    How-ever my I- mac   found the artwork no problem, all the spec is this same on both machines.any ideas out there?
    Its no big deal I know,its just a mystery why.

    The battery is fully charged so it is not the problem.
    What happens when you use the MagSafe?

  • Hide the punch out catalog for some purchasing groups

    Hi ,
    I want to hide one punch out catalog for purchasing groups . How is this possible ?
    Can we do in PPOMA_BBP , but the excluded tab is in display mode .
    Please help ...
    Thanks in advance
    Neha

    Hi,
    You can do this in PPOMA_BBP transaction. Excluded tab is in display mode because you may have added the catalog at Purchasing grp levels.
    Insteading of adding the catalogs at purchasing grp levels add the catalogs at the Purchasing Org level.
    Then all the catalogs will be inherited in below purchasing grps, there you can check exclude tab for one which you dont want in that purchasing grp.
    Hope this solves your problem.
    Thanks
    Venkatesh P

  • Default the Batch Management flag for some Material Groups

    Hi Gurus,
    Is it possible to Default the Batch Management flag (under T code MM01) based on the material grops.Like for example if the Material groups -01 then the default value for batch managemnet flag should be checked.
    Our OMCT  set up is -Batch unique at the Client level for a material
    Edited by: Ruchi Dutta on Oct 22, 2008 11:55 PM

    Hi Ruchi,
    have you got the solution ??

  • I cannot get to or use my home pc for a while and am staying with a friend for the foreseeable and am using their pc to write this. How do I access my itunes account on their pc. Thanks Karen

    I cannot get to or use my home pc for some time and am staying at a firends and using their pc to write this. I need to access my itunes account and music on their pc. How do I do this. Thanks

    An easy route would be to use the iTunes Match service such that all your Songs are available anywhere over the internet via iCloud.  Once complete you can create an account on your friends PC, download iTunes and sign-in to the iTunes Store with your Apple Id, start iTunes Match and it will provide access to all your Songs.
    Not quite so good, is simply to follow the steps on your friends PC as above, however, instead of iTunes Match simply access the 'purchased' songs area from the iTunes Store home page that will give you access to all your purchases without iTunes Match.
    IMPORTANT:  Apple only like to see a single Apple Id associated with one device - so if your friend already has an active Apple Id account on the PC, it would be wise to use an alternate machine.  Apple has a 90 day lock out associated with switching Apple Ids on a common device.

  • T code to get the detail of release strategies for all purchas groups?

    Hi,
    Is there any  T ode that i can run a report and get the current details of release strategies for all purchase groups exist at the moment?
    if so pls let me know
    or else how can i get that information?
    highly appreciate all of your assistance in this regard?
    thanks in advance
    Regards
    Sasika

    from T16FS you can only get which strategy are present.
    Which strategy you have can already be seen in the PO or requisition.
    But you are looking for the person. this is not really easy, as this can be more than one person.
    A strategy has the information what release code is needed.
    And this release code is in a role which is then assigned to an approver.
    So the only way would be to execute SUIM and then roles by authorization values.
    there you enter the authorization object M_EINK_FRG (hit enter) then you have to enter the release group and release code.
    Execute. SAP will list all roles that grand the authority to release order with this combination.
    in this list you can click another button to see the users that are assigned to this role.

Maybe you are looking for

  • Itunes won't open after I agree to lic.

    itunes won't open after I agree to lic.

  • Need help with video uploading in flex 4

    hey guys... so i need to create a video uploading application... with video chunking... basically i need to break up the video file (may be 1Gig or more in size) in pieces and send it to the server using a method i call from my webservice... any idea

  • File system getting full and Server node getting down.

    Hi Team, Currently we are using IBM Power 6 AIX operating system. And in our environment, for development system, file system is getting full and development system is getting slow while accessing. Can you please let me know , what exactly the proble

  • Good Books/Readings on SEM-BPS?

    Hello gurus, Can anyone tell me some good books on SEM-BPS? Any material will also be appreciated. Thanks a lot! Sri

  • No iPod connected after I try to install latest version

    Help! Two weeks ago I tried to update iTunes to the latest version (which I always do) and it didn't work. Ever since then iTunes is showing that my iPod is not connected. The computer says it is, but not itunes. I have done all of the troubleshootin