Support for Specifying ImageFileItem via Parameter Input#313
Open
ricoroodenburg wants to merge 10 commits intoOSDeploy:masterfrom
Open
Support for Specifying ImageFileItem via Parameter Input#313ricoroodenburg wants to merge 10 commits intoOSDeploy:masterfrom
ricoroodenburg wants to merge 10 commits intoOSDeploy:masterfrom
Conversation
The ImageFileItem parameter has been added, which updates the ImageFileItem property in the $global:StartOSDCloud variable. If ImageFileItem is provided, the existence of the specified file is checked. If the file does not exist, the user will be prompted to manually select an ImageFileItem as usual. The integer value for OSImageIndex is also validated based on the provided ImageFileItem. If the specified index does not exist, the user will be prompted to manually select an item, as per the usual process. In Summary: It is now possible to perform a zero-touch deployment for offline images. Example: Start-OSDCloud -ImageFileItem "\windows 11 - 24H2 - NLD\install.wim" -OSImageIndex 3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Support has been added for specifying an ImageFileItem via parameter input. Additionally, it is now possible to provide the OSImageIndex via the existing OSImageIndex parameter.
In other words, for deployments using an offline image file, you can now specify both the image file and the index to be used. This enables a full automated deployment process.
Failsafe Mechanism: A failsafe has been implemented. If the specified image or index does not exist, the process will fall back to the original behavior, allowing users to select an image and index from the available list.