Hi,
i'm trying to update Shell Entry viA PowerShell with this command :
$UpdatedSSHShellEntry = @{
EntryID = $entry.id
Description = "Entry Aggiornata via PowerShell"
}
Update-DSSSHShellEntry @UpdatedSSHShellEntry
where $entry.id is the entry id of my ssh entry ( with value 8674d0cc-31d1-4000-9cd9-3e7b3131b65e ) .
The command exit with this two errors :
Line |
44 | Update-DSSSHShellEntry @UpdatedSSHShellEntry
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| A positional parameter cannot be found that accepts argument '8674d0cc-31d1-4000-9cd9-3e7b3131b65e'.
InvalidOperation: C:\Program Files\WindowsPowerShell\Modules\Devolutions.Server\2022.1.10.0\Public\Entries\Update-DSSSHShellEntry.ps1:308:13
Line |
308 | if ($res.isSuccess) {
| ~~~~
| The variable '$res' cannot be retrieved because it has not been set.
Could you help me ?
I
Hello,
Thank you for reporting this problem and sorry for that late reply.
What DVLS version are you using?
What version of the DVLS PowerShell module are you using?
I can reproduce that problem on my end.
And when I'm using this command, I only get the The variable '$res' cannot be retrieved because it has not been set error.Update-DSSSHShellEntry -EntryID $entryID -Description "Entry Aggiornata via PowerShell"
I will ask an engineer to have a look on this and we will keep you updated.
Thank you for your patience.
Best regards,
Érica Poirier
Hello
thank you for tour reply.
My DVLS version is 2022.1.13.0 and version of my DVLS DVLS PowerShell module is 2022.1.0.0 .
I installed DVLS PowerShell module from psgallery .
Best Regards,
Claudio
Sorry
the version of DVLS PowerShell module is 2022.1.10.0 .
Claudio
Hello Claudio,
Thank you for reporting the issue.
I went ahead and fixed that CMDlet . I tested on Devolutions Server version 2022.1.13.0 and could successfully update my entry.
I am currently having issues with PSGallery, but the new version should be deployed in the following hour.
Thank you for your patience and do not hesitate to reach out to us again if need be.
Best regards,
Alexandre Martigny
Hello Alexandre
i've installed new version of powershell modules from psgallery ( 2022.1.10.2 ) and all seems to work fine .
Thank you
Claudio