Remove-PWEnvironmentColumn not removing columns in the database

Hello,

I just found that the command "Remove-PWEnvironmentColumn" even it confirms the column is removed it still shown in PW admin/environments and the column still exist in the database.

the issue is double as it is not only not deleting the column but also if we try to create a column with the same name in the future it won't let you do it as it already exist.

Any advise?

see demo script

new-pwlogin XXXXX:xxxxxxxx
Remove-PWEnvironmentColumn -ColumnName demo -EnvironmentName YYYYYYYYYY
$columns = Get-PWEnvironmentColumns -EnvironmentName YYYYYYYYYY
write-host $columns.Name

thanks in advance for any help/advise

Parents Reply Children