Edit Description of a Server with Powershell

Edit Description of a Server with Powershell

avatar

Hello

I have a small problem:
I want to edit with my powershell script the field (more - description) directly . Is that possible? What parameters do I need?

Pic:
https://postimg.org/image/bktj7l34h/

Best regards Dario pe.

All Comments (8)

avatar

Hi Dario,

To edit the description, you have to modify the description property in your session object that you create or get.

Ex:
$session = New-RDMSession -Name "MySession" -Kind "RDPConfigured"
$session.Description = "The description"
Set-RDMSession $session -Refresh
Best regards,

Olivier Désalliers

avatar

Hello Olivier

Thank you, it works!


I have another trouble.
If I want to use this command, a lot of error message appears with me (also in the RDM Powershell):


command:
New-RDMSession -Group
New-RDMSecurityGroup
Set-RDMPersonalCredentials

Pics: http://www.pic-upload.de/view-31832797/Unbenannt.png.html

Dont know what he problem is..

Best regards Dario pe.

avatar

Hi Dario,

What is your data source type? Get-RDMSecurityGroup only works on advanced data source. ( http://help.remotedesktopmanager.com/index.html?datasources_advanced.htm )

Best regards,

Olivier Désalliers

avatar

Hi Olivier

Okey.
We use the RDM Enterprise Edition is this compatible with the Get-RDMSecurityGroup commands?

How can i set credentials to RDM Sessions with Powershell ?
This was my last question ;-)


Best regards Dario Pe.

avatar

Hi Dario,

You can use all the cmdlets with RDM Enterprise.

By advanced data source type, I meant do you use one of these:













To know how to assign credentials to session, you can look at this thread:
https://forum.devolutions.net/topic23912-programmatically-assigning-various-credentials-to-entries.aspx

Best regards,

Olivier Désalliers

avatar

we use the Devolutions Server.

Thank you for the Link to the thread.

:)

avatar

Hi Dario,

If you use Get-RDMCurrentDataSource, does it return your Devolutions Server data source?

Best regards,

Olivier Désalliers

avatar

i thank you very much.
it was my misstake.. i used the wrong datasource.

Thank you olivier :)