Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Feature request: New-GuestConfigurationPackage option to specify working directory

Open
#304 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
powershell
Domain
cli

Research direction

Start with the New-GuestConfigurationPackage cmdlet implementation and trace how the current gcworker temporary path is constructed and used. Review the cmdlet's parameter handling and any existing tests for package creation. Done means callers can provide a workerTempFolder and separate executions use the requested working directory without the current collision or in-use problems.

Written by the indexing model from the issue text.

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.

New-GuestConfigurationPackage -name foo -path ./myConfigName/file.mof -workerTempFolder ./myConfigName/myWorkerTempFolder/
Dominant language
PowerShell
Stars
8
Forks
13
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Azure/GuestConfiguration

All issues in Azure/GuestConfiguration

Similar issues

More CLI issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.