This is the built-in help made by Microsoft for the command 'Add-WindowsPackage', in PowerShell version 3 - as retrieved from
Windows version 'Microsoft Windows Server 2012 Standard' PowerShell help files on 2016-06-23.
For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.
Adds a single .cab or .msu file to a Windows image.
Add-WindowsPackage [-IgnoreCheck [<SwitchParameter>]] [-LogLevel <LogLevel>] [-LogPath <String>] [-NoRestart [<SwitchParameter>]]
[-PreventPending [<SwitchParameter>]] [-ScratchDirectory <String>] [-SystemDrive <String>] [-WindowsDirectory <String>] -Online
[<SwitchParameter>] -PackagePath <String> [<CommonParameters>]
Add-WindowsPackage [-IgnoreCheck [<SwitchParameter>]] [-LogLevel <LogLevel>] [-LogPath <String>] [-NoRestart [<SwitchParameter>]]
[-PreventPending [<SwitchParameter>]] [-ScratchDirectory <String>] [-SystemDrive <String>] [-WindowsDirectory <String>] -PackagePath <String>
-Path <String> [<CommonParameters>]
Installs a specified .cab or .msu package in the image.
<
Online Version: http://go.microsoft.com/fwlink/?LinkId=215274
Get-WindowsPackage
Remove-WindowsPackage
<
EXAMPLE 1
PS C:\> Add-WindowsPackage –Online –PackagePath c:\packages\package.cab
This command adds a .cab package to an online image.
EXAMPLE 2
PS C:\> Add-WindowsPackage –Path c:\offline –PackagePath c:\packages\demo_package.msu -PreventPending
This command adds a .msu file to a mounted Windows image unless there are pending actions on the package or the image.
EXAMPLE 3
PS C:\> Add-WindowsPackage –Path c:\offline –PackagePath c:\packages -IgnoreCheck
This command adds all of the packages in a folder to a mounted Windows image without checking if they are applicable to the image.