Save-PSResource: Temporary folder for installation could not be created or set due to: Object reference not set to an instance of an object.
Kaidja opened this issue · 0 comments
Kaidja commented
Prerequisites
- Write a descriptive title.
- Make sure you are able to repro it on the latest version
- 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
ErrorError 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.0Version
7.2.15
Visuals
No response