PowerShell Universal - 4.1.0
Release Notes
APIs
Apps
Automation
Platform
Downloads
Adam Driscoll
PowerShell Expert and Developer at Devolutions
Hi @Adam Driscoll, I’m looking forward to trying all of these new commands out. I see there are some SQL improvements.
If I run a 4.1 container am I able to revert back to 4.0.X if need be or does this update the sql schema’s?
My 3.9.17 instance is prompting me about an available update to 4.1.0 - but I don’t think it would be a wise move to simply update from v3 to v4 just like any other update?
Agreed, this is in my laptop development environment where I construct my code prior to going to Dev, Test, and Prod.
This release has some new functionality in I have been waiting for to implement.
In the meantime, I have spun up a separate container for testing, but at some point i will need to upgrade my current laptop docker environment.
4.0.12 works fine for me… The only problems i had was with new-udhelmet being in the modules’ folder which is now packaged in the product, so once that was removed it all worked.
Hi @Adam Driscoll,
after updating to 4.1.0 i’m getting forwarded to ‘/service-catalog’ after logging in, without receiving any kind of html. When trying to access ‘/admin’ manually, i’m getting unautharized access returned.
Is anyone else experiencing the same problem?
What platform/installation method have you used?
When i loaded up a 4.1 container, it loaded up as expected.
I can see how this would happen but it would have to have the following conditions:
My hunch is that you were caught by the change where the admin role is not being applied by default and you may need to adjust the roles.ps1 script to grant that role.
Adam Driscoll
PowerShell Expert and Developer at Devolutions
This notification should have been fixed. We updated the wrong version file on our blob storage but have reverted change and corrected the issue.
Adam Driscoll
PowerShell Expert and Developer at Devolutions
Thanks for your quick response!
That could very well be the case, as far as i understand the docs the roles.ps1 script should be under ‘Repository.universal’ however, that doesn’t seem to be the case for me. In case i have to create and alter it myself, can you give me a pointer how to manually add the Admin role to my account?
Thanks a lot.
Edit:
@AnonymousUser We are on WinServer 2019, using default deployment as a windows service.
I just tried to permit the login by altering the auth.ps1 script, however that didn’t lead to success.
One more thing: Directly accessing Apps by their URL still works, so i guess you were right @Adam Driscoll
So i need to set the role and also set the baseURL of /?
Can i access some kind of shell of PSU running in a service? Sorry if i am missing something obvious, we are still in the early stages of deployment so it’s my first time troubleshooting something PSU related.
Thanks!
This is how it was prior to v4.1.
New-PSURole -Name "Administrator" -Description "Administrators can manage settings of PSU, create and edit any entity within PSU and view all the entities within PSU." -Policy {
param(
$User
)
$true
}
The other roles were disabled by default.
New-PSURole -Name "Operator" -Description "Operators have access to manage and execute scripts, create other entities within PowerShell Universal but cannot manage PowerShell Universal itself." -Policy {
param(
$User
)
$false
} Adam Driscoll
PowerShell Expert and Developer at Devolutions
I managed to get it running again, thank you so much for your quick help!
Wow, huge update, just wanted to say thank you for all the effort thats gone into this one
Notification still present. Or perhaps it only checks at boot?
Added -OnSelectionChanged to New-UDDataGrid
How can the selected row(s) be addressed? $EventData did only contain my first column in my tryout…