Installs a Windows capability package from an offline Features on Demand ISO on the specified operating system image. PSOfflineFOD is compatible with both PowerShell 5.x and PowerShell Core 6.
Features on Demand are additional capabilities, such as Remote Server Administration Tools (RSAT), that can be added any time on demand. As of Windows 10 1809 these features can only be added via online sources (Windows Update). Certain environments that may not have direct access to the internet face an additional challenge adding these features. Enterprise subscribers can obtain the Features on Demand (FOD) content through the Microsoft Volume Licensing Service Center (VLSC) as a ISO. The current FOD release is comprised of two ISOs avaiable for download.
The PSOfflineFOD module enables the 'Add-WindowsCapabilityOffline' cmdlet to the target system. The cmdlet temporarily mounts the downloaded FOD ISO and installs the named feature on the target machine.
-
Windows PowerShell 5.x or PowerShell Core 6.0. Check your PowerShell version by executing
$PSVersionTable.PSVersion
. -
On Windows, script execution policy must be set to either
RemoteSigned
orUnrestricted
. Check the script execution policy setting by executingGet-ExecutionPolicy
. If the policy is not set to one of the two required values, run PowerShell as Administrator and executeSet-ExecutionPolicy RemoteSigned -Scope CurrentUser -Confirm
.
- Download the latest release from GitHub.
- Extract the latest release and rename the folder to PSOfflineFOD.
- Place the PSOfflineFOD folder in your PSModulePath,
$env:PSModulePath
lists available paths. Import-Module -Name Add-WindowsCapabilityOffline
Install-Module -Name PSOfflineFOD
Coming soon...
Coming soon...
- PSOfflineFOD is based on the excellent work published by Ty McPherson and team at Microsoft Tech Community
- Build scripts and structure based on the work by the great developers at Pester.
- Markdown and formatting based on Adam Pritchard's Markdown Cheatsheet.