?
Solved

getting Created by and TerminalServicesProfilePath with powershell

Posted on 2014-04-24
6
Medium Priority
?
257 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 72

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
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

 
LVL 14

Accepted Solution

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

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

get-qaduser | ft Name,TSProfilePath
0
 
LVL 72

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

Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

Question has a verified solution.

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

How to deal with a specific error when using the Enable-RemoteMailbox cmdlet to create a mailbox in the cloud-based service, for an existing user in an on-premises Active Directory.
I’m willing to make a bet that your organization stores sensitive data in your Windows File Servers; files and folders that you really don’t want making it into the wrong hands.
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

621 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