Forum / Remote Desktop Manager - PowerShell Repository

Import/Synchronize contact list by script

  • Create an Issue
  • Cancel

Hello

I need to import contact from our ERP into RDM Contact List

Looking at available command-let I did not find any useful command that allow to manage RDM contacts

Anyone tried it? Any idea?

Thanks

Marco

Clock3 yrs

Hello,

You can use the New-RDMSession cmdlet with the parameter Type set to Contact. Then you can fill the Contact properties in the MetaInformation property of the session object.

Here is a sample on how to create a Contact in RDM with the PowerShell cmdlets.

$session = New-RDMSession -Name "MyContact" -Type "Contact"
$session.MetaInformation.FirstName = "John"
$session.MetaInformation.LastName = "Doe"
Set-RDMSession $session -Refresh;

Best regards,



Érica Poirier

signaturesignature

Clock3 yrs