header1   header
header
header Register : : Login header
header
connector   connector
menuleft menuright
submenu   submenu
left
"get-qaduser -tsprofilepath *servername" not working
Last Post 01 Aug 2010 12:07 AM by Shay Levy. 1 Replies.
Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
KhabelUser is Offline
New Member
New Member
Posts:6
Avatar

--
29 Jul 2010 04:57 PM
    I'm trying to get all the AD users whose TS profilepath match a certain server but using the above command doesn't work, works fine for just profilepath or homedirectory but doesn't seem to work for either tsprofilepath or tshomedirectory, any ideas would be greatly appreciated
    Shay LevyUser is Offline
    PowerShell MVP, Admin
    Veteran Member
    Veteran Member
    Posts:1362
    Avatar

    --
    01 Aug 2010 12:07 AM
    Get-QADUser has no TSPprofilePath parameter, try:

    Get-QADUser -SizeLimit 0 | Where-Object {$_.TsProfilePath -like '*server*'}

    Shay Levy
    Windows PowerShell MVP
    http://PowerShay.com
    PowerShell Community Toolbar
    Twitter: @ShayLevy
    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