Scripts installed using Save-PSResource -IncludeXml
are not discoverable by Get-InstalledPSResource -Path
#1447
Labels
Uh oh!
There was an error while loading. Please reload this page.
Prerequisites
Steps to reproduce
Scripts installed with
Save-PSResource -IncludeXml
are not discoverable byGet-InstalledPSResource -Path
.Observed difference in behavior:
Save-PSResource -IncludeXml
adds<script_name>_InstalledScriptInfo.xml
to the same directory as the script itself.Install-PSResource
creates a directoryInstalledScriptInfos
where<script_name>_InstalledScriptInfo.xml
is added.I use
Save-PSResource
becauseInstall-PSResource
installs to OneDrive when known folder move (KFM) is enabled, andInstall-PSResource
has no override capabilities.%OneDriveCommercial%
if OneDrive for Business Known Folder Move (KFM) is enabled #627Reproduce:
Expected behavior
Modules "installed" using
Save-PSResource
is discoverable byGet-InstalledPSResource -Path
, so should scripts be.Actual behavior
See expected behavior.
Error details
No error message.
Environment data
Visuals
The text was updated successfully, but these errors were encountered: