Expiration Date/Time Property for Variables
@dylk9 This is a good idea! Would you expect the usage of an expired secret to throw an exception?
For example, using something like this in a script, app or API would result in the access to throw an exception that the secret is expired. It may be clearer than an error returned by the target system.
$Secret:MyExpiredSecret
@Adam Driscoll
I think having an option to throw an error or not would be nice, with the default value being OFF. I could see some situations where I may want to ignore an expiration or not just default to an error.
Expiration Date/Time Property for Variables
I use a lot of secret variables to hold, well, secrets. Many of these secrets have an expiration date. I would like to be able to set an 'expiration date' property for these variables so I can quickly see when these secrets expire.
It could also be useful to have notifications when a secret is expiring soon (ie: 30 days, 7 days, 3/2/1 days) notification when a variable's expiration date is nearing.
PowerShell Universal - 2026.1.6
I’m having the same issue with the Security module import. Temporarily resolved it by clearing the PSModulePath environment variable, then trying to import. This only recently started.
try {
write-host "Previous module path: $($env:PSModulePath)`n"
Write-host "Clearing path before trying import..."
$env:PSModulePath = ""
Import-Module Microsoft.PowerShell.Security
} catch {
throw "Error! Could not import module: $($_.Exception)"
}To understand if PS Universal fits my requirement
Hey Neo,
I recently went through a similar evaluation process for our enterprise. A big factor in our decision was the pricing. We’re a mid-sized company and management barely batted an eye in terms of cost.
To answer your questions:
1- Yes, this is very easy to do. You can review the docs here:
(Note: I noticed a small bug where, as an admin, you cannot see the roles assigned to a user in the Identities page, however the user still receives the role. Take note if you follow this method)
2- If your web front is not displaying all the data being processed, Kestrel will be plenty.
3- Yes, there would be a few ways to handle this. One PSU-native method would be to use the Cache scope to map a variable. See more here:
I’d recommend setting up a test VM, grabbing a trial license (14 days), and playing around with the platform to see if it fits your needs. For our case, I also spun up an instance in my home lab to develop a few POCs to show to management and familiarize myself with the platform. It proved fruitful!
Roles not applying - SAML2 Entra ID Authentication
I had a similar issue with Windows Authentication. I was using a custom role that inherits another role (nested role).
Make sure you review this section of the docs - https://docs.powershelluniversal.com/security/security#users-with-many-groups
Also, I noticed some strange behavior with ‘External Accounts’ and role assignments. When a user signs in via Windows SSO and receives their role through claim assignment, it does not list this role on the Identities page, however the user does receive the role. I’m not sure if this is a visual bug or intended, but I spent a day diagnosing this. You should verify this by using a secondary account, giving yourself permission to the admin page, and viewing your roles under ‘My Identity’
Gallery doesn't load and displays "No Data"
I’m having the same issue. I can find packages locally (Find-PSResource) but it doesn’t appear to work in the WebUI. My error message is the same.
I’m behind a corporate proxy, have it set in the settings. I also tried setting the system proxy but still no luck.
Error Message2025-06-17 12:23:31.954 -05:00 [ERR][Universal.Server.Services.ModuleService] Error while searching for module
System.Management.Automation.CmdletInvocationException: Name parameter must be provided, unless Tag or Type parameters are used.
---> System.Management.Automation.PSInvalidOperationException: Name parameter must be provided, unless Tag or Type parameters are used.
at System.Management.Automation.MshCommandRuntime.ThrowTerminatingError(ErrorRecord errorRecord)
--- End of inner exception stack trace ---
at System.Management.Automation.Runspaces.AsyncResult.EndInvoke()
at System.Management.Automation.PowerShell.EndInvoke(IAsyncResult asyncResult)
at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)
--- End of stack trace from previous location ---
at Universal.Server.Services.ModuleService.FindModule(String repository, String searchText, Boolean prerelease, IEnumerable`1 tags) in D:\a\universal\universal\src\Universal.Server\Services\ModuleService.cs:line 58