LogoLogo
OSDeploy.comTwitterGitHubPowerShell Gallery
  • Overview
  • Release Notes
    • 2019 Archive
  • OSDeploy Home
  • Module
    • Functions
      • Get-DownOSDBuilder
      • Get-OSBuilds
      • Get-OSDBuilder
      • Get-OSMedia
      • Get-PEBuilds
      • Import-OSMedia
      • Initialize-OSDBuilder
      • New-OSBuild
      • New-OSBuildMultiLang
      • New-OSBuildTask
      • New-OSDBuilderContentPack
      • New-OSDBuilderISO
      • New-OSDBuilderUSB
      • New-OSDBuilderVHD
      • New-OSDBuildPack
      • New-PEBuild
      • New-PEBuildTask
      • Show-OSDBuilderInfo
      • Update-OSMedia
    • GitHub
    • PowerShell Gallery
  • Docs
    • Basics
      • Requirements
      • Installation
      • Get-OSDBuilder
        • Get-OSDBuilder -Update
    • OSImport
      • Import-OSMedia
      • Import-OSMedia Automation
      • Import-OSMedia -Update
      • Import-OSMedia -BuildNetFX
      • Download FeatureUpdates
    • OSMedia
      • Get-OSMedia
      • Download OSMediaUpdates
      • Download OneDrive
      • Update-OSMedia
        • Updates Parameter
        • SkipComponentCleanup Parameter
    • Download Updates
    • Media Functions
      • OS Information
      • Create an ISO
      • Create a USB
      • Create a VHD
    • ContentPacks
      • Content
        • Media
        • OSCapability
        • OSDrivers PEDrivers
        • OSExtraFiles PEExtraFiles
        • OSPackages
        • OSPoshMods PEPoshMods
        • OSRegistry PERegistry
        • OSScripts PEScripts
        • OSStartLayout
        • PEADK
        • PEDaRT
      • MultiLang Content
        • OSLanguagePacks
        • OSLanguageFeatures
        • OSLocalExperiencePacks
        • PEADKLang
      • New-OSBuildTask
      • New-OSBuild
      • Recipes
        • MultiLang FOD NetFX3
        • Multilang FOD RSAT
        • Frogger
    • OSBuild
      • New-OSBuildTask
        • Basic Parameters
          • CustomName
          • EnableNetFX3
          • EnableFeature
          • DisableFeature
          • RemoveAppx
          • RemoveCapability
          • RemovePackage
          • WinPEAutoExtraFiles
        • Content Parameters
          • ContentDrivers
          • ContentExtraFiles
          • ContentPackages
          • ContentScripts
          • ContentStartLayout
          • ContentUnattend
        • WinPE Content Parameters
          • ContentWinPEADK
          • ContentWinPEDaRT
          • ContentWinPEDrivers
          • ContentWinPEExtraFiles
          • ContentWinPEScripts
        • Manual Editing
        • SaveAs
        • Templates
        • Language Parameters
      • New-OSBuild
        • OSBuild Validate
        • OSBuild Download
        • OSBuild Execute
      • Content Directory
        • ADK
        • DaRT
        • Drivers
          • Intel Wireless
          • Intel Bluetooth
          • Intel Ethernet
        • ExtraFiles
        • IsoExtract
        • Mount (Managed)
        • OneDrive
        • OSDUpdate (Managed)
        • Packages
        • Scripts
        • StartLayout
        • Unattend
          • Windows System Image Manager
    • Advanced
      • Settings
        • Redirecting Paths
        • Disable Global Settings
        • Citrix PVS Target Device
        • Automatic Downloads
        • Import-OSMedia
        • Update-OSMedia
      • OSMedia Baseline
      • MultiLang Baseline
        • Clean Start
        • Add Primary Operating System
        • ContentPack Configuration
        • New-OSBuild
        • New-OSBuild PE
    • Legacy Operating Systems
      • Windows 7 SP1
        • Build and Capture
      • Windows Server 2012 R2
    • Windows MultiLang
      • Requirements
      • OSMedia
      • OSBuild Task
      • OSBuild Task WinPE
      • OSBuild
      • OSBuild Test
      • OSBuild MultiLang
      • OSBuild MultiLang Test
    • Support
      • Review the Logs
  • External Links
    • Addons
      • OSDBuilder Import Tool (Andrew Jimenez)
    • WebCast
      • Offline WaaS Servicing (Modern Deployment)
    • Training
      • Arthur
      • DeploymentMX (2018)
      • Brian Gonzales
      • Ben Whitmore
      • Manel Rodero
      • DeploymentMX (2019)
Powered by GitBook
On this page
  • ContentPack Structure
  • Add Capabilities
  • Add RSAT Capabilities
  • x64 Results
  • x86 Results
  • Build
  • Results

Was this helpful?

  1. Docs
  2. ContentPacks
  3. Content

OSCapability

PreviousMediaNextOSDrivers PEDrivers

Last updated 5 years ago

Was this helpful?

OSCapability ContentPack is used to add things like RSAT to an offline Windows Image

ContentPack Structure

Directories within OSCapability are created by default and follows this logical assignment

OSCapability\$ReleaseId $Architecture
OSCapability\$ReleaseId $Architecture RSAT

That being said, if you need one for Windows 10 1909 x86, just manually create the following directories. Get it?

1909 x86
1909 x86 RSAT

Add Capabilities

You will need to download a Features on Demand ISO to get WindowsCapabilities. Once you have the ISO, simply copy the WindowsCapabilities you want to add

You must always include the metadata directory and the FoDMetadata_Client.cab, otherwise OSDBuilder will ignore your stuff

Add RSAT Capabilities

If you want to add RSAT, simply add the CAB files you want to install in the corresponding RSAT Capability directory. This can be quite challenging if you are doing this manually, but the following script should do just the trick if you adjust the paths accordingly and add your languages

#Path to the Features on Demand ISO
$FodISO = 'G:\'

#Destination Path
$Destination = 'D:\OSD\ContentPacks\OSCapability RSAT en-US\OSCapability\1903 x64 RSAT'

#Languages to support
#The first value must be $null for Language Neutral
#Add additional values for additional installed Languages
$Languages = @($null,'en-us')

#Do not modify below this line
$Architectures = @('x86','amd64','wow64')
if (!(Test-Path $Destination)) {New-Item $Destination -ItemType Directory -Force | Out-Null}
foreach ($Language in $Languages) {
    foreach ($Architecture in $Architectures) {
        Get-ChildItem $FodISO -Recurse -Include metadata,FoDMetadata_Client.cab,"Microsoft-Windows*FoD*$Architecture~$Language~.cab" -Exclude *LanguageFeatures*,*Holographic* | foreach {
            if (!(Test-Path "$Destination\$($_.Name)")) {
                Write-Output "$Destination\$($_.Name)"
                Copy-Item $_.FullName $Destination -Force -Recurse
            }
        }
    }
}

x64 Results

x86 Results

Build

Time for a quick test

New-OSBuild -SkipTask -Execute -SkipComponentCleanup -SkipUpdates -CreateISO

During the OSBuild process you will see a list of the available Capabilities for your OS displayed. This is not the Capabilities you are adding, but the way they are installed is you have to Add-Windows Capability by Name. So if you have the CAB for the Named Windows Capability, it will be installed

To verify the installed Windows Capabilities, simply validate against the exported XML

Import-Clixml "D:\OSDBuilder\SeguraOSD\OSBuilds\Windows 10 Enterprise x64 1909 18363.418\info\xml\Get-WindowsCapability.xml" | ? State -match 'Installed' | ft

Or have a look in the WindowsCapability.txt file that is in the root of the OSBuild you just created.

Results