Enable-PEWimPSGallery
The Function
What this function does is
Mounts a WinPE WIM
Adds the missing Volatile Environment (in Current Environment)
Saves PackageManagenment and PowerShellGet Modules from PowerShell Gallery in the WIM
Dismount and Save the WinPE WIM
Results
After modifying the WIM, I can test the changes by creating an ISO (or you can USB, whatever). Works like a champ!
Last updated