SnAkEhIpS
asked on
PowerShell GUI overlay for msra and mstc
Got a PowerShell idea. I'd like to create a gui that will launch either msra.exe or mstc.exe depending on my entry. What I envision is this:
1. I have a field where I type a username
2. Based on that username (I'm guessing it checks with Active Directory) the primary workstation of that user is determined and displayed (maybe last 5 logons makes a user a primary user)
3. There are 2 buttons; "Assist" and "RDC"
Anyone have any leads or willing to produce such a PS script?
1. I have a field where I type a username
2. Based on that username (I'm guessing it checks with Active Directory) the primary workstation of that user is determined and displayed (maybe last 5 logons makes a user a primary user)
3. There are 2 buttons; "Assist" and "RDC"
Anyone have any leads or willing to produce such a PS script?
ASKER
Could this info be gleaned from a security policy audit on a domain controller or an audit on a client-by-client basis? I'm curious how this was accomplished with a COTS enterprise computer inventory application I used in a previous environment. it gave me the ability to specify the number of successful logins; default was 5. Ultimately, any user who had the last 5 logins on a computer was deemed the primary owner. It displayed "primary owner" along with other inventory details in the app.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you Shaun. i think I've got it now. See ya again soon!
https://www.experts-exchange.com/articles/30891/Automated-object-placement-using-AutoAD.html