Register
: :
Login
Home
News
Forums
Scripts
User Groups
Resources
About
Forums
Search
Members
Unanswered
Active Topics
Forums
>
Using PowerShell
>
General PowerShell
"get-qaduser -tsprofilepath *servername" not working
Last Post 01 Aug 2010 12:07 AM by
Shay Levy
. 1 Replies.
Sort:
Oldest First
Most Recent First
Prev
Next
You are not authorized to post a reply.
Author
Messages
Khabel
New Member
Posts:6
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 Levy
PowerShell MVP, Admin
Veteran Member
Posts:1362
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.
Using PowerShell
--General PowerShell
--Books, Tools, and Videos
--Exchange Server
--Active Directory
--System Center Family
--Non-Microsoft Products
--SharePoint
--SQL Server
--Working with .NET
--Peer Review
--Testing, Testing...
PowerShell Development
--Cmdlet Development
--PSDrive Provider Development
--Hosting the Shell
Looking Ahead
--Using PowerShell v2.0
--Developing for PowerShell v2.0
PowerShellCommunity.org
--Community Announcements and Assistance
--Completely Unrelated
--User Groups
--Community Business
----Suggestion Box
Forums
>
Using PowerShell
>
General PowerShell
Active Forums 4.3
Sponsored by Quest Software • SAPIEN Technologies • Compellent • Microsoft Windows Server 2008 R2