For the complete documentation index, see llms.txt. This page is also available as Markdown.

WinPE PowerShell Gallery

This example will enable PowerShell Gallery in an ADK WinPE with the PowerShell package added. Normal WinPE will boot to a command prompt and start wpeinit. From here, enter the following command

powershell iex(irm psgallery.ps1.osdeploy.com)

This command will use Invoke-RestMethod to return the content of the PowerShell script into a string, and then use Invoke-Expression to run the string

PSCloudScript

psgallery.ps1.osdeploy.com will redirect to the following script

OSDeploy is sponsored by Recast Software and their Systems Management Tools

Sponsored by Recast Software

Last updated

Was this helpful?