windows-itpro-docs icon indicating copy to clipboard operation
windows-itpro-docs copied to clipboard

Why does the PS script not do what is actually needed?

Open DMahalko opened this issue 1 year ago • 2 comments

Why does the example Powershell script for updating the components of a deployment ISO do random unnecessary tasks like adding extra languages to the the deployment image? This should be moved off to a separate documentation page for how to add optional components.

The powershell script on this page should only focus on actually doing the minimum necessary tasks to update a deployment ISO image.

Also it would seem that all update download tasks should be possible to fully automate as part of the powershell script. Why am I required to separately manually download the latest cumulative updates?

The script should:

  • Mount the source ISO or open a previously extracted/updated sources directory
  • Get the OS version, CPU version(s), release
  • Ask which source WIMs / indexes should be updated, or if all should be updated
  • Use that information to automatically download the appropriate updates
  • Automatically apply those update stages to WinRE, WinPE, Main

It is strange that the script presented here is not already capable of doing all this automatically. Why is it left as an exercise to the reader to figure out how to make a properly functional powershell script, using this example script?


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

DMahalko avatar Jul 26 '22 04:07 DMahalko

@DMahalko , Script writing is too difficult which includes all your conditions.

RAJU2529 avatar Jul 28 '22 15:07 RAJU2529

+959755986680

On Thu, 28 Jul 2022, 22:11 VARADHARAJAN K, @.***> wrote:

@DMahalko https://github.com/DMahalko , Script writing is too difficult which includes all your conditions.

— Reply to this email directly, view it on GitHub https://github.com/MicrosoftDocs/windows-itpro-docs/issues/10725#issuecomment-1198324080, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVH2N5G3FXGMI6YHFXUPXALVWKSYXANCNFSM54UQMG2Q . You are receiving this because you are subscribed to this thread.Message ID: @.***>

Thuyaaung939 avatar Jul 28 '22 19:07 Thuyaaung939