header1   header
header
header Register : : Login header
header
connector   connector
menuleft menuright
submenu   submenu
left
get-QADGroup - Quest AD to query all groups with P (P*)
Last Post 19 Jul 2010 01:41 PM by nosoup4u. 2 Replies.
Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages Resolved
nosoup4uUser is Offline
New Member
New Member
Posts:5
Avatar

--
19 Jul 2010 01:06 PM
    Trying to use Quest AD to query all groups with P (P*) in a OU. I can directly query specific group names, but I want to query all groups using a wild card (P*) within a OU. Below is the code I am using which produces no output or errors to indicate what is missing, wrong, or needed. Any help would be appreciated.

    get-QADGroup 'CN=P*,OU=lv3,OU=Prod,OU=lv2,OU=lv1,DC=domain,DC=domain,DC=com'
    Shay LevyUser is Offline
    PowerShell MVP, Admin
    Veteran Member
    Veteran Member
    Posts:1362
    Avatar

    --
    19 Jul 2010 01:11 PM
    Get-QADGroup -Name P* -SearchRoot 'OU=lv3,OU=Prod,OU=lv2,OU=lv1,DC=domain,DC=domain,DC=com'

    Shay Levy
    Windows PowerShell MVP
    http://PowerShay.com
    PowerShell Community Toolbar
    Twitter: @ShayLevy
    nosoup4uUser is Offline
    New Member
    New Member
    Posts:5
    Avatar

    --
    19 Jul 2010 01:41 PM
    Excellent, thank you for your help Shay.
    You are not authorized to post a reply.


    Active Forums 4.3
    right
    footer   footer
    footer Sponsored by Quest Software • SAPIEN Technologies • Compellent • Microsoft Windows Server 2008 R2 footer
    footer   footer