OSDeploy.com
Twitter
GitHub
PowerShell Gallery
Search…
OSD PowerShell Module
Functions
Docs
OSDCloud
OSDPad
OSDHelp
Guides
OSDWindowsImage
Windows Setup Environment
Release Notes
Trash
Adk
Appx
Block
CloudDriver
Dell
Disk
Dism
Display
Driver
General
MyBitLocker
OOBE
PSModule
WebConnection
WebPSScript
WinPEWim
WinPE
Enable-PEWimPSGallery
Get-OSDWinPE
Powered By
GitBook
Enable-PEWimPSGallery
PowerShell Gallery in WinPE
osdeploy.com
The Function
What this function does is
1.
Mounts a WinPE WIM
2.
Adds the missing Volatile Environment (in Current Environment)
3.
Saves PackageManagenment and PowerShellGet Modules from PowerShell Gallery in the WIM
4.
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!
​
​
​
Previous
WinPE
Next
Get-OSDWinPE
Last modified
1yr ago
Copy link
Contents
The Function
Results