Links

OSDCloud USB

New-OSDCloudUSB
New-OSDCloud.usb has been renamed to New-OSDCloudUSB (without the period in the name). The old name is now an Alias, but that will be removed on April 1, 2022
This function requires elevated Admin Rights
There are two reasons for creating an OSDCloudUSB. The first reason is to simply boot to WinPE and let everything download from the Internet. The second reason is to support OSDCloud Offline, which works without any internet connection at all

New-OSDCloudUSB

To create an OSDCloud USB, use the New-OSDCloudUSB OSD function. This OSD Function is used for both OSDCloud WinPE and OSDCloud Offline

Requirements

  • Operating System - To create an OSDCloudUSB from a USB Drive, make sure you are running Windows 10 1703+ or Windows 11. This minimum requirement is to create a USB Drive with 2 Partitions
  • Admin Rights - Since you need to mess with Disk Partitions, you will need Admin Rights to Clear-Disk and New-Partition

[Default] fromWorkspace

To get started, open PowerShell with Admin rights. Simply enter New-OSDCloudUSBto prepare a new or used USB Drive
You will be presented with a table of the USB Drives that are present on your system, regardless of whether you have 1 or 5. Simply enter the DiskNumber to make a selection
After selecting a DiskNumber, you will be prompted to Confirm the selection as this is a destructive process. Once you Confirm, the USB Drive will be Cleared, Initialized, Partitioned, and Formatted. When the USB Volumes are ready, your OSDCloud Media will be copied to the Boot partition. The whole process should take between 1-2 minutes to complete

fromIsoFile

If you have an OSDCloud ISO, you can use this to create an OSDCloud USB using the -fromIsoFile parameter

fromIsoUrl

If you have an ISO saved on the Internet, you may be able to use the -fromIsoUrl parameter
This is not guaranteed to work in all situations due to firewall and proxy configuration

USB Content

When you create a new OSDCloud USB, only the WinPE partition will contain files. If you do not plan on using OSDCloud Offline, you can rename the OSDCloud partition and use it for something else

Disk Management

As you can see in Disk Management, the USB Drive will contain two partitions. The first partition will be the OSDCloud NTFS partition, with the second being the 2GB FAT32 Partition. Other guides may tell you to create the FAT32 partition first, but they are wrong, and I am right. For one reason, FAT32 gets corrupted all the time. Its easier to destroy and recreate at the end of the drive without messing with the NTFS partition. Secondly, you are free to shrink and extend this smaller partition. If the partitions were reversed, you would not be able to extend the start point of the second partition without losing all the NTFS data

Update-OSDCloudUSB

If you make changes to WinPE in your OSDCloud Workspace, you can easily update your OSDCloud USB WinPE volume by using Update-OSDCloudUSB
This OSD function easily works on multiple OSDCloud USB drives

Update-OSDCloudUSB -DriverPack

If you are ready to use OSDCloud Offline, then you can start by adding Driver Packs for your supported computers using Update-OSDCloudUSB with the DriverPack parameter. Supported manufacturers are Dell, HP, Lenovo, and Microsoft Surface

ThisPC

You can start by downloading the Driver Pack for your computer. Simply use the following command line
Update-OSDCloudUSB -DriverPack ThisPC

Manufacturers

You can also specify one or more of the supported Manufacturers. Each manufacturer specified will present a PowerShell GridView which will allow you to select multiple models.
Some models have Driver Packs for both Windows 10 and Windows 11. In the Dell example below, both Driver Packs should be downloaded for proper compatibility. During an OSDCloud deployment, Windows 11 Driver Packs are selected over Windows 10
Update-OSDCloudUSB -DriverPack Dell
The DriverPack parameter will accept multiple values, separated by a comma. Additionally, Driver Packs that have already been downloaded will show as Downloaded in the Status column of PowerShell gridview
Update-OSDCloudUSB -DriverPack ThisPC,Dell

Everything

If you want to download the Driver Pack for your computer, and to select Driver Packs from all available Manufacturers, use this command
Update-OSDCloudUSB -DriverPack *

Update-OSDCloudUSB -OS

Finally, you can save any Operating Systems (Windows 10 1809 - Windows 11 21H2) that OSDCloud uses to your OSDCloud USB. You can download all OSDCloud supported Operating Systems with the following command line
Update-OSDCloudUSB -OS
Once Update-OSDCloudUSB runs, you will be prompted to select one or more Operating Systems from PowerShell gridview. You can then press OK to download the ESD files

OSName

If you know which OS you want to download, you can use the OSName parameter with a supported value

OSLanguage

In my opinion, the best filter that you can select is OSLanguage. This will allow you select from all Operating Systems in your selected language

OSLicense

You can filter the OSLicense by Volume or Retail to narrow down the selections as well
Home
Recast Software
OSDeploy is sponsored by Recast Software
Last modified 8mo ago