Error while trying to launch a synchronization with Powershell

Implemented Backlog

Error while trying to launch a synchronization with Powershell

avatar

Hi,

I have RDM with several vcenter synchronizers, and I am trying to launch those synchronizations with a script so that I can make an scheduled task for launch it every certain time. I use the cmdlet Open-RDMSyncSession like this:

Open-RDMSyncSession -ID "{721cce83-dbae-4535-bd57-b22118240007}" where 721cce83-dbae-4535-bd57-b22118240007 is the ID of the defined synchronization.
When I run the command i get the following error:
Open-RDMSyncSession: Object reference not set to an instance of an object.

I have googled this error and I find many entries but all refered to ASP.NET, not any one related with this module. Can anybody help?

All Comments (3)

avatar

Hello,

What RDM version are you using?

What data source type are you connected to? If it's DVLS, what version are you using?

What Devolutions.PowerShell module version are you using? You can get it with the Get-RDMInstance cmdlet.

With the provided information, we will have a better overview to test this internally.

Thank you for your collaboration.

Best regards,

Érica Poirier

avatar

RDM Version: 2024.1.25.0
Data Source: SQL Server
Powershell Module version: 2024.1.4

Thank you very much

avatar

Hello,

Thank you for being so patient.

I have been able to reproduce your issue. A ticket has been submitted to the developer team.

We will post it here once a fix is available.

Best regards,

Érica Poirier