Powershell returns no sessions even though current data source is correct.

Powershell returns no sessions even though current data source is correct.

avatar

I don't know the steps to reproduce this. It appears to be random at the moment.
I have a script to create entries.
The script prompts to enter a name of a company.
It then performs a -like wildcard match and if it finds a match it uses that company as the parent group.
If no match is found it creates a new company using the name entered.
Some times it fails to find a match even though there is one.
I Stopped the script and ran some commands in the same powershell instance to troubleshoot

get-rdmcurrentdatasource to check it was using our SQL data source

it returned the data source correctly.
I then ran get-rdmsession and it returned no results even though there are a lot
any idea what could cause this?

I have just installed the latest version but this occurred on 12.0.8.0

thank you

rdm powershell.PNG

All Comments (5)

avatar

Hello,

We are unable to reproduce your issue on our environment.

Is it possible to send me your PowerShell script in a private message?

Do you get the whole entries list with Get-RDMSession when you are in the same PowerShell instance?

Best regards,

Érica Poirier

avatar

no it is as though I have no entries

avatar

Hello,

Are you connected to your SQL data source using the Integrated Security option in the data source configuration?

Best regards,

Érica Poirier

avatar

No, I am using Database login and specifying a user and password
see attached screenshot

RDMDS.PNG

avatar

Hello,

Is it possible to do a remote session next week?

If so, please write an email at support@devolutions.net and we will send you the information to schedule the session.

Best regards,

Érica Poirier