Forum / Remote Desktop Manager - PowerShell Repository

Edit Description of a Server with Powershell

  • Create an Issue
  • Cancel

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.

Clock4 yrs

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

signaturesignature

Clock4 yrs

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.

Clock4 yrs

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

signaturesignature

Clock4 yrs

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.

Clock4 yrs

Hi Dario,

You can use all the cmdlets with RDM Enterprise.

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

  • Devolutions Server
  • MariaDB
  • MySQL
  • Online Database (Only the Professional and Enterprise subscriptions levels)
  • SQL Azure
  • SQL Server (MSSQL)
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

signaturesignature

Clock4 yrs

we use the Devolutions Server.

Thank you for the Link to the thread.

smile

Clock4 yrs

Hi Dario,

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

Best regards,

Olivier Désalliers

signaturesignature

Clock4 yrs

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

Thank you olivier smile

Clock4 yrs