Get-OSMedia
Last updated
Last updated
[switch] FullDetails
Displays Update Information (Servicing, Cumulative, Adobe)
[switch] GridView
Displays results in GridView
Get-OSMedia
will return all OSMedia
as a PowerShell Custom Object
This will determine if the Updates are the Latest available. Cumulative Update information is obtained by parsing an exported Sessions.xml file (exported in OSBuilder 18.12.5 or newer)
Even more detail can be viewed when using the -Verbose parameter. This will display information about the Updates that are validated. This process can take up to a minute for multiple OSMedia
You can display the results in GridView using this parameter. This will allow you to select multiple OSMedia using PassThru
As an alternative, you can use the following commands to perform a GridView
You can also pipe OSMedia to some other OSBuilder functions likeShow-MediaInfo
using any of the following commands
You can even use Get-OSMedia
to download updates for all your existing OSMedia
You can use the Where Method to display the OSMedia with the Latest Cumulative Update
(Get-OSMedia -FullDetails).Where({$_.Cumulative -eq 'Latest'})
Get-OSMedia
will be used internally in other OSBuilder functions. For example, Update-OSMedia
used to use a simple selection based on Directories contained in OSMedia
Get-OSMedia
will allow more detailed information in the selection of OSMedia to Update