Quick actions (to set expiration date)

Quick actions (to set expiration date)

avatar
RickW
Disabled

Hi team!

For each customer, we promise to perform a software upgrade at least once every 6 months.
In order to remind myself of that, I set the expiration date of that session via Session>Properties>More>Expire.
If I have to set about 15 expiration dates at once, you can image that this is quite a painful job.

Is there a way to set the expiration date faster?

Personally, I'm thinking of a favorites tab in the top menu/ribbon which contain your favorite quick actions and scripts.
This would allow me to select one or more sessions and set the expiration date in a single click.

Thanks,
Rick

All Comments (10)

avatar

Hello Rick,

There is a way to batch edit for your expiration to all your session.

First of all, you need to do an advanced search to see only the Session you would like to change the Expiration on it.
Here is the way to make an Advanced Search : http://help.remotedesktopmanager.com/index.html?advanced_search.htm

If you don't like this way, you can perform a filter only for your session type : http://help.remotedesktopmanager.com/index.html?view_searchfilter.htm

Once you have filters and selected all your session right click on it and Edit-> Batch Edit-> Batch Actions...
Select the Custom Powershell Command and on the new windows enter this sentence

-------------------
$connection.MetaInformation.Expiration = "2017-12-25T00:00:00-05:00"
$RDM.Save();
-------------------

Do not forget to change the date inside as you would like.

For more information about batch actions please see that Help http://help.remotedesktopmanager.com/batch_actions.htm

Best Regards,

David Grandolfo

avatar

Thanks David for the suggestion!
I figured that I also can select the specific items and run a Batch edit with Custom Powershell Command

By using (Get-date).AddMonths(6) I can even make it dynamic:
$connection.MetaInformation.Expiration = (Get-date).AddMonths(6)
$RDM.Save();Where can I save this Powershell script?

avatar

Hello,

It will work only on selected items.

The dynamic way to do it for 6 months is



$connection.MetaInformation.Expiration = (Get-Date).AddMonths(6)
$RDM.Save()


Best Regards,

David Grandolfo

avatar

But can I also save this script somewhere?

avatar

Hello Rick,

There are multiple ways you could save the script (using a "text" document entry type to store it, for example) but there are no ways to reuse it directly in the custom powershell batch action. To simplify everything we will add the option to batch change the expiry date in the batch edit.

You will be able to access it by doing the following: select your entries > right click > edit > batch edit > Edit sessions (general settings. In the tab "more" there will be a section to override the expiry date.

This should be easier to use for all of our users. This change will be available in RDM 12.

Regards,

Hubert Mireault

avatar

Perfect!
Maybe it's still a good idea to create a script manager where actions like these can be managed and ran easier. Still have a lot more that I would like to script :)

avatar

What we could do is in the custom powershell batch action, you can choose whether to write in your own script, or use the script from a specific entry, like a powershell type entry. Do you think it would work well for your scenario?

Regards,

Hubert Mireault

avatar

I think that would work, yes.
In that case I would also include a 'recently used'-list so I don't have to browse to my Powershell scripts every time.

avatar

Hi Rick,

We have a new version available:
http://cdn.devolutions.net/download/Devolutions.RemoteDesktopManager.Bin.11.9.6.0.zip
http://cdn.devolutions.net/download/Setup.RemoteDesktopManager.11.9.6.0.exe
== Change History ==
- Added a .rdm file synchronizer
- Added batch edit for expiration date
- Changed the RTF description to no longer support image and avoid performance issue
- Fixed a possible issue with the DropBox login
- Fixed an issue with the inventory report hot fix dates


Best Regards,

David Grandolfo

avatar

Awesome! Kudos to you and the rest of the dev team :thumb: