This is the built-in help made by Microsoft for the command 'Get-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.
Gets information about packages in a Windows image.
Get-WindowsPackage [-LogLevel <LogLevel>] [-LogPath <String>] [-PackageName <String>] [-PackagePath <String>] [-ScratchDirectory <String>]
[-SystemDrive <String>] [-WindowsDirectory <String>] -Online [<SwitchParameter>] [<CommonParameters>]
Get-WindowsPackage [-LogLevel <LogLevel>] [-LogPath <String>] [-PackageName <String>] [-PackagePath <String>] [-ScratchDirectory <String>]
[-SystemDrive <String>] [-WindowsDirectory <String>] -Path <String> [<CommonParameters>]
The Get-WindowsPackage cmdlet gets information about all packages in a Windows image or about a specific package that is provided as a .cab
file.
Use the Online parameter to specify the running operating system on your local computer, or use the Path parameter to specify the location of
a mounted Windows image.
Use either the PackageName or PackagePath parameter to get more detailed information about a specific package in the Windows image such as
whether the package can be installed completely offline without booting the image.
You cannot use this command to obtain detailed package information for .msu files, only .cab files.
<
Online Version: http://go.microsoft.com/fwlink/?LinkId=215283
Deployment Image Servicing and Management (DISM) Cmdlets
Add-WindowsPackage
Remove-WindowsPackage
<
EXAMPLE 1
PS C:\> Get-WindowsPackage –Path c:\offline
This command lists all of the packages in the Windows image that is mounted to c:\offline.
EXAMPLE 2
PS C:\> Get-WindowsPackage –Path c:\offline –PackageName Microsoft-Windows-Backup-Package~31bf3856ad364e35~x86~~6.1.7601.16525
This command displays detailed information about the specified package in the Windows image that is mounted to c:\offline.