Hello,
I have seen the script to import teamviewer sessions. I am however wondering if it's possible to update a session based on the teamviewer ID?
For instance we have a script that updates a databased with the logged on user and the teamviewer id of the machine. I would like to regularly update RDM with the logged on user-machinename based on it's id.
Example:
User A logs on to Machine1 and it has the TV Id 1234. in RDM it would show "User A - Machine1" id 1234
User A logs off then User B logs on TV Id is still 1234. During update cycle (script or whatnot) RPM would then show "User B - Machine1"
We don't always know what machine the user logs onto this would help use with searching them out.
Hi,
Just to understand, you can want to do a search in RDM by checking the teamviewer ID?
David Hervieux
Actually we would search by the session name so I would search User B to find it. Basically I just want to change the session name on the record that has the TVId xxxxx or 1234 from the example above.
Your best bet is to look at RDM's PowerShell module. You could write a script that does the renaming for you.
Online help: http://help.remotedesktopmanager.com/index.html?powershell_cmdlets.htm
PowerShell forum sample scripts: http://forum.devolutions.net/forum42-remote-desktop-manager--powershell-repository.aspx
Regards,
Stéfane Lavergne
How do I then grab the Teamviewer ID (highlighted) to do the lookup?
This will extract the TeamViewer ID from the first session:$sessions = Get-RDM-Session | where {$_.Session.Kind -eq "TeamViewer"}$sessions[0].Session.GetProperty("TeamViewer", "ID")
Stéfane Lavergne
Thanks! Got it working and added it to the repository.
Thank you very much for your script
David Hervieux
I'm feeling a little stupid asking this, but even tho I'm a long-time RDM user I don't know :)
Is there a script repository? Where can I find it?
What a great idea. There must be thousands of RDM users with a lot of different scripts. If everyone shared, it would be extremely time-saving for others to use(save the hassle of re-making the same scripts).
//Brandur
Stéfane Lavergne
Hehe. Ok. Thank you.
I know of that forum repository.
I thought you guys where talking about a repository built-into RDM. The same way you install add-ons.
If it was that way, people would properly use the available scripts much more and contribute/upload much more to the script repository.
Then I think you should note this down as a feature suggestion/request ;)
//Brandur
Hi Brandur,
It's a repository hosted on our web site. We can add any script you provide. Do you have few good one to add?
David Hervieux