Solved

getting Created by and TerminalServicesProfilePath with powershell

Posted on 2014-04-24
6
250 Views
Last Modified: 2014-04-24
Hi EE

Does anyone have a script that I can add a list of samaccountnames to that will pull the information below ?

Name
SamAccountName
ProfilePath
whencreated

here is the tricky part .. Who created the account or the current owner and the TerminalServicesProfilePath
0
Comment
Question by:MilesLogan
  • 2
  • 2
  • 2
6 Comments
 
LVL 14

Expert Comment

by:Justin Yeung
ID: 40020324
where is your TS profile? are they on the individual server or it is using folder redirection in a central location?

are you looking for just an individual server?
0
 
LVL 69

Expert Comment

by:Qlemo
ID: 40020346
The creator of AD object isn't noted anywhere, so no dice without having switched on security auditing ...
0
 
LVL 2

Author Comment

by:MilesLogan
ID: 40020366
Thanks Qlemo..


Hi Justin .. I just need to see what is in this field for all the users that I add to the list .
ts.PNG
0
Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

 
LVL 14

Accepted Solution

by:
Justin Yeung earned 500 total points
ID: 40020540
install quest AD module

http://www.quest.com/powershell/activeroles-server.aspx

get-qaduser | ft Name,TSProfilePath
0
 
LVL 69

Expert Comment

by:Qlemo
ID: 40020553
According to
  https://groups.google.com/forum/#!topic/powershell-users/ogOBoszvssE
you are out of luck with Get-ADComputer (we would have to decode a binary AD property called userParameters) for getting the TS profile path. Is using Quest an option?
0
 
LVL 2

Author Closing Comment

by:MilesLogan
ID: 40020770
Awesome .. thanks Justin  !
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
This tutorial will give a short introduction and overview of Backup Exec 2012 and how to navigate and perform basic functions. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as conne…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question