Get only Server-folders

Get only Server-folders

avatar

Hi

How can I find all entries which are Server-folders in powershell - or advanced search ?

When looking in Copy XML there is a GroupType, but I can't seam to find it in PowerShell.

Regards Lars

Remote Desktop Manager connected with Devolutions Server running newest versions.

------------------------Signature------------------------

Sorry if any of above sounds harsh or provoking, it is NOT meant as such, but I have Asperger's and don't always know.
My intentions is always to be friendly.

-------------------------------------------------------------

All Comments (5)

avatar

Hello,

For the property in PowerShell, you can access it with $session.GroupDetails.Group. If it's the default value, this property will be empty.

For the Advanced Search, the folder types will be listed in Connection type filter like the following for Domain folder type, Identity folder type, etc.

forum image

Best regards,

Érica Poirier

avatar

Ahh, do you have a library where all of the properties for powershell ?

Ohh, would have sworn I had looked there. I propably have but overlooked it as allways :D

Thanks!

Remote Desktop Manager connected with Devolutions Server running newest versions.

------------------------Signature------------------------

Sorry if any of above sounds harsh or provoking, it is NOT meant as such, but I have Asperger's and don't always know.
My intentions is always to be friendly.

-------------------------------------------------------------

avatar

Hello,

Thank you for your feedback.

We do not have a library of all the properties. It is possible to list the properties in Clipboard - Copy - Preview where then can be listed. Please note that if the default value is set for the property, you won't see it in the XML code of that dialog.

forum image

You can also list the properties of an entry in PowerShell with Get-Member cmdlet like this to list all properties and methods available for the object.

$session  = Get-RDMSession -Name "MyRDP"
$session | Get-Member


Let me know if that helps.

Best regards,

Érica Poirier

avatar

This answer appears to be incorrect. In order to find folders that are of the Server type you need to look under the GroupDetails property for the GroupType property.

Get-RDMSession | where {$_.GroupDetails.GroupType -eq "Server"} | Select Name,Group
avatar

Hello,

Thank you for your feedback.

You are right and I have updated my previous post to use .GroupDetails.Group property instead of the older property.

Best regards,

Érica Poirier