Dongbo Wang
Dongbo Wang
@Satak What version of PowerShell are you using?
one more instance I know of is `$a:b`. There are a few well-known prefixes like `$private:`, `$script:`, `$global:`, but this syntax applies to more scenarios beyond, such as ``` $function:SayHello...
Oh, that's a change in Windows that moves the user's Documents folder to OneDrive. That means the same issue will potentially happen to all modules that are ships with PowerShell,...
From @aavdberg: > But why powershell 7 gets blocked on Windows 10, where i have to report this and who will do something with it? @SydneyhSmith For context, Windows moved...
I doubt if that will work for `Install-Module`. If `Install-Module` still treats the onedrive path as the personal module path, then it will not try to install modules to the...
From the [Upgrading](https://github.com/PowerShell/PSReadLine#upgrading) section of `README.md`: > When running one of the suggested commands below, be sure to exit all instances of powershell.exe, pwsh.exe or pwsh, then run the suggested...
In your repro, you are installing `PSReadline` within an interactive `pwsh` instance. For an interactive `pwsh` instance, `PSReadLine` is loaded at startup and its assemblies cannot be unloaded even if...
Thanks for clarifying your repro steps. Now this looks like an issue with the `Install-Module` cmdlet, and I cannot repro locally with my Ubuntu machine. @alerickson @SydneyhSmith does this look...
@vexx32 When running `-command` without `-noexit`, PowerShell won't load `PSReadLine`, see the following example: ``` C:\>f:\pscore70.6\pwsh.exe -noprofile -command "Get-Module; 'no module loaded'" no module loaded ```
@alerickson This is on Linux. On Linux, `Install-Module` should be able to remove the assemblies from disk even if the assemblies are loaded into memory by another process. So I'm...