[X] Make sure you are able to repro it on the latest version
[X] Search the existing issues.
Steps to reproduce
Im trying to save a resource from the local file share repository and using PowerShell 7.2.15
Save-PSResource -Name SQLServerODBC -Repository "AppUpdates" -Path C:\Temp\
It works in evironment A but not in B. Same PowerShell in both cases.
Expected behavior
Resource should be saved.
Actual behavior
Error
Error details
Save-PSResource: Temporary folder for installation could not be created or set due to: Object reference not set to an instance of an object.
Environment data
$PSVersionTable
Name Value
---- -----
PSVersion 7.2.15
PSEdition Core
GitCommitId 7.2.15
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
Prerequisites
Steps to reproduce
Im trying to save a resource from the local file share repository and using PowerShell 7.2.15 Save-PSResource -Name SQLServerODBC -Repository "AppUpdates" -Path C:\Temp\
It works in evironment A but not in B. Same PowerShell in both cases.
Expected behavior
Actual behavior
Error details
Environment data
Version
7.2.15
Visuals
No response