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
PS> Get-Variable PSGetPath -ValueOnlyGet-Variable: Cannot find a variable with the name 'PSGetPath'.
Error details
No error.
The variable $PSGetPath was added to PowerShellGet v2 in PowerShell/PowerShellGetv2#486. The variable is never used by the modules, it is provided to give users information about the location of the Modules and Scripts folder for each scope.
PSResourceGet exports the variable in the module manifest, but nowhere in code does it set the value.
Prerequisites
Steps to reproduce
In a new session import PSResourceGet but don't import PowerShellGet v2. Examine the value of
$PSGetPath
.Expected behavior
Actual behavior
Error details
No error.
The variable
$PSGetPath
was added to PowerShellGet v2 in PowerShell/PowerShellGetv2#486. The variable is never used by the modules, it is provided to give users information about the location of theModules
andScripts
folder for each scope.PSResourceGet exports the variable in the module manifest, but nowhere in code does it set the value.
Environment data
Visuals
No response
The text was updated successfully, but these errors were encountered: