Hi there,
I had same problem (Australian Language pack), so wrote a .ps1 to install these Feature On Demand packs during Intune device setup. You can put it in under Scripts, in the Endpoint Manager (Intune) portal.
Hope this helps you out:
execution policy
Set-ExecutionPolicy Bypass -Force
gather all objects with name containing "en-AU" where the install state is NotPresent (as opposed to Installed)
$winFODs = Get-WindowsCapability -Online -Name "*en-AU*" -ErrorAction SilentlyContinue | Where-Object {$_.State -eq "NotPresent"}
Start-Sleep -Seconds 5
Add-WindowsCapability for each one
ForEach ($winFOD in $winFODs) {
$winFODName = $winFOD.Name
$outputPSline = "$winFODName is installing now. "
$outputPS += $outputPSLine
Add-WindowsCapability -Online -Name $winFODName -ErrorAction SilentlyContinue | Out-Null
# the Out-Null ensures each command completes before attempting the next one. And added a small sleep spacer, below also.
Start-Sleep -Seconds 5
}
you might want to run the above over again, because I find some FOD's get missed. (Found that with RSAT FOD's sometimes. Weird issue.) Start again from here:
$winFODs = Get-WindowsCapabil...
This seemed to fix the UAC hidden prompt CLSID: {C6B167EA-DB3E-4659-BADC-D1CCC00EFE9C}