Database variables from modules can't be set

A fix for this issue has been implemented in version 2026.2.3
Implemented

Database variables from modules can't be set

avatar

PSU 2026.1.6

Is this intended behaviour or a bug?

$module\1.0.0\.universal\variables.ps1

$Parameters = @{
    Name     = "Test"
    Type     = "System.String"
    Database = $true
}
New-PSUVariable @Parameters



a77c14c3-35e5-4c47-a99f-68fb59c34193

34ef27b6-9c3b-4539-bece-c270b1b0187b.png

a77c14c3-35e5-4c47-a99f-68fb59c34193.png

All Comments (1)

avatar

@schubfre I think database variables should be able to be set. I'll open an issue for this. In this case, it should treat the value as the default and allow for update since it doesn't need to update the module itself.

Adam Driscoll
PowerShell Expert and Developer at Devolutions

A fix for this issue has been implemented in version 2026.2.3