You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] Starting Session as Standard user on Windows with Experimental Feature for Command tab completion stops PSReadline loading #8770
Open PowerShell Core (as non-admin session) as per details in this PR #8109 with adding the -settingsfile ./test.json to the executable path (on Windows) so becomes "C:\Program Files\PowerShell\6-preview\pwsh.exe" -WorkingDirectory ~ -settingsfile "C:\Program Files\PowerShell\6-preview\test.json"
Expected behavior
Loads with no error (tab completion of d-na expands to Disable-NetAdapter)
Actual behavior
Loads but complains with
Cannot load PSReadline module. Console is running without PSReadline.
Tab Completion of d-na does complete to Disable-NetAdapter
PSReadLine cannot be added to session and execution Policy is set to restricted and I have to set the scope to Bypass to load PSReadline after which I can use d-na tab completion and PSReadline
Environment data
Name Value
---- -----
PSVersion 6.2.0-preview.4
PSEdition Core
GitCommitId 6.2.0-preview.4
OS Microsoft Windows 10.0.17763
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
changed the title [-][BUG] Starting Session with Experimental Feature for Command tab completion stops PSReadline loading[/-][+][BUG] Starting Session as Standard user on Windows with Experimental Feature for Command tab completion stops PSReadline loading[/+]on Jan 28, 2019
Activity
[-][BUG] Starting Session with Experimental Feature for Command tab completion stops PSReadline loading[/-][+][BUG] Starting Session as Standard user on Windows with Experimental Feature for Command tab completion stops PSReadline loading[/+]kilasuit commentedon Jan 28, 2019
This seems to be fixed for a standard user session as long as you run both of these commands in an admin shell before the next run of Pwsh
kilasuit commentedon Jun 27, 2023
No longer an issue