Database variables from modules can't be set

A fix for this issue has been implemented in version 2026.2.3

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

All Comments (2)

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 Software Architect at Devolutions

avatar

Hello,

The fix has been implemented in the latest 2026.2.3.0.

Let us know if that works as expected.

Best regards,

Érica Poirier

A fix for this issue has been implemented in version 2026.2.3