WARNING: Connection not found.

avatar

Hi

I try to delete all of the sessions with the following script:
Get-RDMSession | select ID | ForEach-Object {Remove-RDMSession -ID $_.ID -Refresh -Force}

But the script does not delete all sessions at once. It startet to delete some folders and sessions, but there are still plenty of folders left. I am getting the following warning:
WARNING: Connection not found.

So what's broken?

Greets

All Comments (2)

avatar

Hello,

We have been able to reproduce your issue and a ticket has been submitted to our engineering department.

Best regards,

Érica Poirier

avatar

Hi,

We added a parameter named Session that takes an array of PSConnection. Which mean that you can simply call Remove-RDMSession to remove all the sessions in the current data source:

Remove-RDMSession -Session (Get-RDMSession) -Refresh -ForceThe Remove-RDMSession with the ID parameter has also been fixed.

It will be available in the next RDM version.

Best regards,

Olivier Désalliers