Using Sitecore 10.3
This is a local instance. I have opened the PowerShell console
and it shows up like this.
The yellow notification bar doesn't go.
How do I get to the command prompt?
Clicking on Drop elevated session state
does nothing.
Sitecore Stack Exchange is a question and answer site for developers and end users of the Sitecore CMS and multichannel marketing software. It only takes a minute to sign up.
Sign up to join this communitySPE elevated rights
means that SPE has put a named token in your session state that has an expiration time. We are not elevating anything related to any other aspect of your Sitecore environment
– you’re SPE elevated
which means we allow you to do execute Script
and save it within your Sitecore environment
.
If you want to hide yellow notification bar Powershell console
and allow elevation of the user session. You can update the configuration via patch file for Console
window only in Spe.config
.
<token name="Console" expiration="00:05:00" elevationAction="Allow"/>
Once you allow the console window, the result will be.
The console app is a decent entry point when you need to quickly provide a one liner
to test something or just change a field in a large number of items.
Credit & Refer for more details:
https://doc.sitecorepowershell.com/security
https://sitecorepowershell.com/session-state-elevation/
Hope it helps!
Drop elevated session state
clickable? If yes what happens when you click?