Creating a new Username/Password Information via Powershell Module
hi,
we would like to add a new username/password entry via powershell into rdm. is this possible?
we got a automated system that creates active directory users and we would like to pass this information to rdm and create a windows user name password entry into a specific folder in rdm no server connection only
a username password entry we normaly would add via add entry -> username/password
regards
Hello,
this code should fulfill your request:
Import-Module "${env:ProgramFiles(x86)}\Devolutions\Remote Desktop Manager\RemoteDesktopManager.PowerShellModule.psd1"
$creds =New-RDMSession -Name "Credential Entry" -Type Credential
$creds.Credentials.UserName="Your Username"
Set-RDMSession $creds -refresh
Set-RDMSessionPassword -ID $creds.ID -Password (ConvertTo-SecureString "Your Password" -AsPlainText -Force) -refresh
Regards,
Min
Thank you for the fast reply…
How can i store the Entry in a specific Folder then for example…Root Folder is Secure_Infos and the Sub Folder where the Entry should be stored is ServiceUser
regards
thanks i already found it via the -group parameter you can set the folder -group "Secure_Infos\ServiceUser"
works now thx
may i ask does rdm got a rest service too? for this functionality
regards
Hello Harald,
The Devolutions Server has a RestAPI implementation via PowerShell that is currently in the works: https://github.com/Devolutions/devolutions-server/tree/main/Powershell%20Module
It is only available for that data source, however.
Best regards,
Richard Boisvert