Product: PowerShell Universal
Version: 5.4.1
IIS / SQL Express
AppPool ID: LocalSystem
Windows Auth
Roles that are created in Modules (in roles.ps1 files) are disappearing from the console after some period of time. The app pool must be restarted to bring them back. When they disappear, they can no longer be assigned in scripts/apps.
I’ve followed all recommendations from the docs, but the problem persists through IIS restarts and server reboots:
There is this in the 5.4.2 changelog - it may not be related, but theres been a few people experiencing emptied scripts if the whole thing is being emptied
Platform
- Fixed an execution policy issue with vaults.ps1
- Fixed an errant log message in standard out (#4500)
- Fixed an issue where scripts contents could be overwritten with the default value
An app pool recycle brings them back, and they are always present in the relevant roles.ps1 files. But something is causing them to be dropped. This looks like a separate issue.
1 Like