Azure / Azure/GuestConfiguration
Feature request: New-GuestConfigurationPackage option to specify working directory
- Dominant language
- PowerShell
- Stars
- 8
- Forks
- 13
- PR merge metrics
- No merged PRs in 30d
Description
Issue:
The cmdlet currently uses the path
C:\Users\\{username}\\{**onedrivelocation**}\\Documents\\PowerShell\\Modules\\GuestConfiguration\\4.5.0\\gcworker\\temp\\{configname}\\Modules
This can cause collisions and "in-use" problems. Part of this problem is that PowerShell would be better served storing modules outside of OneDrive locations. Until that can be done, it would be nice to be able to control where work is performed.
Possible resolution:
Parameter to specify gcworker path. We would get the added benefit of having completely distinct paths per execution, because the parent folder could be unique.
```powershell
New-GuestConfigurationPackage -name foo -path ./myConfigName/file.mof -workerTempFolder ./myConfigName/myWorkerTempFolder/
```
Contributor guide
Assessment
This issue has not been assessed yet.