Users

All Posts (9)

avatar

collierspeak

How to Programmatically Set Linked Vault Credential

avatar
avatar
avatar

I may have stumbled upon a working way to accomplish this. It seems if I set the CredentialConnectionID to the ID of the credential object I want to apply, this successfully links the credential to the RDP session

How to Programmatically Set Linked Vault Credential

avatar
avatar
avatar

I'm attempting to use PowerShell to create a new RDP session & assign a specific credential object to the Linked (Vault) connection type. The Credentiqal object already exists, and I can select the credential from the drop-down manually, but no matter what I try I can't set the credential via PowerShell.

I'm successfully able to set the Credential type to Linked (Vault) using the GUID c6ed87bb-5293-4c01-a6a8-f486852aa8a8.

I'm attempting to set the CredentialConnectionSavedPath property on the RDP session to set the Credential object - is this correct one?

FYI I'm using the 2023.2.0.7 version of the module, and Free 2023.1.20.0 version of the RDM software, in a SQLite data source

Running RDM Powershell Commands Remotely with Service Account

avatar
avatar
avatar

Hello,

I'm writing a PowerShell script that will synchronize the server list in a Vault with a list of servers and IPs in a CMDB. I can run the script locally but am sometimes prompted to log in using a web login prompt. If I want to have a service account running this script on a schedule remotely, how can I pass credentials so this account does not get prompted to authenticate to the Devolutions Server?

Set-RDMUserVaultSession Error "Connection has invalid group specified"

avatar
avatar
avatar

Hello,

I'm trying to create a new Credential entry in my user vault using the below commands, but I'm getting an error that "Connection has invalid group specified." The $FolderName below does exist and is spelled correctly.

$FolderName = 'Folder'

$newCredentialSession = New-RDMSession -Name $Name -Type 'Credential' -Group $FolderName

Set-RDMSessionUsername -Session $newCredentialSession -UserName $Name

$myPwd = ConvertTo-SecureString 'TestPW' -Force -AsPlainText

Set-RDMSessionPassword -Session $newCredentialSession -Password $myPwd

Set-RDMUserVaultSession $newCredentialSession -Refresh

RDM Version: 2022.2.20.0

Module version: 2022.2.3.0

using Devolutions Server as my datasource.

Please let me know if any additional information is needed!

Set-RDMPrivateSession Not Working

avatar
avatar
avatar
avatar

Thanks! This appears to work now. I appreciate the help!

Set-RDMPrivateSession Not Working

avatar
avatar
avatar
avatar

I'm using a Devolutions Server as my data source. Does that answer the question?

Set-RDMPrivateSession Not Working

avatar
avatar
avatar
avatar

Thanks!

Set-RDMPrivateSession Not Working

avatar
avatar
avatar
avatar

RemoteDesktopManager Module version 2022.1.3.3, RDM version 2022.1.27.0

Set-RDMPrivateSession Not Working

avatar
avatar
avatar
avatar

I'm attempting to create a folder in my user vault via PowerShell, but the folder doesn't create. Here's what I'm running in PowerShell:

$newFolder = New-RDMSession -Type 'Group' -Name $FolderName

Set-RDMPrivateSession $newFolder -Refresh

The result is a folder is created in the vault currently set to Get-RDMCurrentVault. I noticed when I view the contents of $newFolder prior to Set-RDMPrivateSession, the repository ID is the one that exists for my currently selected vault (Get-RDMCurrentVault).

Am I doing anything wrong?

1 - 9 of 9 items