Users

All Posts (3)

avatar

jtwilcox

Adding Tags/Keywords Via Powershell

avatar
avatar
avatar

Using

Powershell I am would like to do a bulk update of RMD of the Tag/Keyword list

for my sessions. Looking at everything it looks like I should just be able to

do the following.

# request all session items

$SessionListAll = Get-RDMSession

# filter for RDP connection

$SessionListRDP = $SessionListAll | Where-Object {$_.connectiontype -eq 'rdpconfigured'}

# loop through list and update each with tag overwriting old tag info

ForEach($Session in $SessionListRDP) {

$Session.MetaInformation.Keywords = "xxxx 'yyy zzz' "

Set-RDMSession $Session

}

I get the following error.

Set-RDMSession : Connection has invalid group specified.

If I understand correctly, based on the forum posts the problem could be that the group value doesn't exist (defined as folder in the gui). The value in $Session.Group appears to match the folder value for the session.

We are running version 2020.3.27.0 of RDM EE

The powershell module is remotedesktopmanager.powershell v1.0

Using PVWA Credential to launch SSMS (and other applications) is failing.

avatar
avatar
avatar
avatar

Alexandre,

I am a team mate of George. We are both having the same issue. I tried your suggestion to paste the username and password in and it worked. Thoughts?

Accessing Custom Variables via Powershell Script

avatar
avatar
avatar
avatar
avatar

What's the method for accessing the list of custom variables as well as the value via powershell?

1 - 3 of 3 items