Set Entry custom image
Hello,
Using templates can be a good idea, but I would like to be able in a second time to massive edit objects by script.
Let's start from template!
For folders I just need to customize:
Name
Description
Parent folder
MyAppID
Note: MyAppID must be a property of the object that I can set during script creation process. I was thinking to use "Custom Fields"
I have a question: Template have hereditary properties? I mean if I create a new connection starting from a template, what happens if I change the template? Changes will be use only by new object or applied also to old one?
thanks a lot
Set Entry custom image
Hello,
I need to create Entry with custom image.
I am working with Devolution Server without RDM using New-DSSession cmdlet to authenticate.
I did not find any way have a full customization of an entry, so I would like create by myself additional module that can do more.
I would like to start from image customization using as an example and I need your help. (First step change a folder image)
This is starting code:
New-DSSession -Credential $Creds -BaseURI $DVLSUrl
$Vault = $(Get-DSVaults).Data | Where-Object {$_.Name -eq "MyVault"}
$DS_tree = Get-DSEntriesTree -VaultID $Vault.ID
$Folder = $DS_tree.Data.partialConnections | where {$_.Name -eq "MyFolder"}Note: just for test I manually changed image by RDM and looking at $Folder.customImageId I get the id
If I do the same on a folder with default settings no customImageId property is defined. So it seems that only customized settings are displayed
Now I what to create a new Folder with the same customImageId. How can I do?
Unable to authenticate to Devolution Server
Hello Richard ,
I moved to Method1 suggested by your document. But there are a lot of issue:
A- Method 1 needs RDM or it doesn't work, while Method 2 works also without RDM. You suggest me to use application, see next point B
Is it by design or something is wrong?
B- I need to use this in an automatic script, so as you told me I am trying to use Applications key/secret. This should be possible with Method 1, but during code execution a redirect to DVLS web login page appears
I think a redirect to a web page login is not an expected behavior. Is it?
Note: Redirect login page do not allow me to insert the username that is prefilled. The prefilled user is not the one used to create key/secret, but it is the one configured for another existing datasource in RDM (I do not find any sense, can you explain me?)
an automatic script cannot manage a redirect and I think this is not the scope of a key/secret. I think something is wrong.
C- Now if i open RDM I have a new configured Data Source named as $dsname.
Used code:
Install-Module Devolutions.PowerShell
$dsname = "PowerShell-Admin"
$dsurl = "https://srv.xxxx.it/dvls"
$appkey = "xxxxx-fca6-4890-abd2-xxxxx"
$appsecret = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
$ds = New-RDMDataSource -DVLS -Name $dsname -Server $dsurl -ScriptingTenantID $appkey -ScriptingApplicationPassword $appsecret -SetDatasource -WarningAction SilentlyContinue
Set-RDMDataSource $dsSo I tried to use next code on a new ps session:
$dsname = "PowerShell-Admin"
$ds = Get-RDMDataSource -Name $dsname
Set-RDMCurrentDataSource $ds
$All_entry = Get-RDMEntry1- Get-RDMDataSource redirect me again to DVLS login web page......
2- same user prefilled .....
code:
$dsname = "PowerShell-Admin"
$ds = Get-RDMDataSource -Name $dsname
Set-RDMCurrentDataSource $dsnow looking ad $ds I see:
ID : bb58bbec-1a1e-41b8-a4c8-47ea99a41c80
IsConnected : True
IsOffline : False
Name : PowerShell-Admin
Type : RDMSIt seem fine but if i use:
Get-DSEntries
I got:
Get-DSEntry: Session does not seem authenticated, call New-DSSession.
You told me that New-DSSession id dismissed.
Can you help me?
Thanks a lot
Unable to authenticate to Devolution Server
Hi Richard
I am using:
Get-RDMInstance -> 2023.3.0.0
DVLS Version -> 2023.3.6.0
I just checked and also without RDM I am able to user Devolution Server modules.
I found the problem: I am trying to use an active directory user and it fails. But if I use a local user it works!
So how can I use an AD user to login powershell?
Thanks a lot
Kind Regards
Unable to authenticate to Devolution Server
Hello,
I am going crazy working on PS module for Devolution Server, I need help
First of all, I would like to use powershell module without RDM installed. Is it supported?
I do not find a documentation about command usage so I tried to look at : https://github.com/Devolutions/devolutions-server/blob/main/Powershell%20Module/Devolutions.Server/Public/Authentication/New-DSSession.ps1
There is a little syntax erron in the example: you typed parameter -Credentials (right one is without last s)
This was I have done:
Create on Devolution Server an application and got back Application Key and Secret.
$YourApplicationKey = "zzzzzzzzzzzz"
$YourApplicationSecret = "xxxxxxxxxxxxxxxx"
$SecurePassword = ConvertTo-SecureString $YourApplicationSecret -AsPlainText -Force
$Credentials = New-Object System.Management.Automation.PSCredential ($YourApplicationKey, $SecurePassword)
$URI = "https://my.dvls.local/dvls"
New-DSSession -Credential $Credentials -BaseUri $URI -AsApplicationI always got this error:
New-DSSession: Exception of type 'Devolutions.RemoteDesktopManager.Business.TryGoOfflineException' was thrown.
What does it mean? What is wrong with my code?
Thanks a lot
Create a new page with powershell
Hi
I am trying to create a page in documentation tab but I do not find any way to do it
can you give me any suggestion?
In contact phone activativation link allow only Skype
Great news Gabriel
I will follow the other thread
you can close this one
Kind Regards
Contact escalation list in asset or session
Thanks a lot James
we already use custom fields for other scopes.
The documentation tab seams to be the only option, but has limitation that can be superseded by using the contact objet
Having an escalation list on an assets could be useful, a product enhancement could be great!
Kind Regards
In contact phone activativation link allow only Skype
Hello,
I did not find anyway to interate my CTI with RDM contact
What I meen is that iss I insert a phone numeber, the icon to activate a call, refers only to skype
I would like to use my CTI or anything else that cloud be refferred by a link like tel://xxxxxxxxxxx
is it possivile?
Kind Regards
Contact escalation list in asset or session
Hi,
I need to note a contact escalation list to be able to identify who can be contacted in case of issue on a specific resource
I saw that you have a contact tab in the session asset. it could be useful but it allows only one contact or reference ant it is not enough.
How can I absolve this need?
Kind Regards
how to inherit documentation page from parent folder
Thanks David
how to inherit documentation page from parent folder
I would like to documentation pages from parent folders
Is it possible? How?
PS Script to create a secure note
Hi I need a script to crate a secure note by powershell
I tried this one:
Import-Module "${env:ProgramFiles(x86)}\Devolutions\Remote Desktop Manager\RemoteDesktopManager.PowerShellModule.psd1"
$NewRDMSession = New-RDMSession -Name TestSecureNote -Type DataEntry
$data = @(
@{Data='';DataEntryConnectionType='SecureNote';SafeData='';SubConnectionType=''}
)
$NewRDMSession.DataEntry.ConnectionTypeInfos= $data
$NewRDMSession.DataEntry.ClearTextSecureNote="ProvaClearText"
$NewRDMSession.DataEntry.SecureNoteType="Text"
$NewRDMSession |set-RDMSession
it create a securenote but content is RTF and not TEXT
I need to create TEXT type notes
can you help me?
Export entry to powershell
I think it can be usefull have a feature that allow to select an entry and export it to a powershell script that create the same entry
something like copy to cleapbord like a PS script
Need to disable search filter popup
Great,
thank's a lot
Need to disable search filter popup
Hi,
I'd like to disable search filter popup: try to explain myself.
double click on filter textbox open an external box to search. Sometimes is not so useful and I'd like to be able in disabling this option by keeping only bottom left textbox.
Is it possible?
Thanks a lot