OSPoshMods PEPoshMods
For starters, PoshMods = PowerShell Modules ... so yes, you can easily add PowerShell Modules to WinPE and your OS using these ContentPacks. Since you should have added PowerShell using PEADK, why not update some Modules while you are at it
ContentPack Structure
Directories within OSPoshMods are created by default and follows this logical assignment
Directories within PEPoshMods are created by default and follows this logical assignment
Installed Modules
Let's first see what we have installed in Windows. You should have two PowerShell Modules directories that are used by default ... so let's see what is in them
OS Program Files
These are some pretty old versions installed out of the box on Windows 10 1909
OS System32
Ok this looks a bit more complicated
WinSE Program Files
Just some old versions of PowerShellGet and PSReadline
WinSE System32
Nothing too out of the ordinary
Save-Module
Use the Save-Module cmdlet to easily add PowerShell Modules from PowerShell Gallery to the ContentPacks. Add the Verbose parameter for detailed results
Build
Simple enough, it's just a file copy ...
Last updated