Contact Info

Crumbtrail

ActiveXperts.com » Administration » Powershell » Powershell 3.0 » Get-WindowsPackage

Get-WindowsPackage - Powershell 3.0 CmdLet

ActiveXperts Network Monitor ships with integrated Powershell scripts to monitor complex network. The scripts run out of the box
Download the ActiveXperts Network Monitor FREE version now »

Get-WindowsPackage

Short description
Gets information about packages in a Windows image.

Syntax
Get-WindowsPackage [-LogLevel <LogLevel>] [-LogPath <String>] [-PackageName <String>] [-PackagePath <String>] [-Scratch
Directory <String>] [-SystemDrive <String>] [-WindowsDirectory <String>] -Online [<SwitchParameter>] [<CommonParameters
>]
Get-WindowsPackage [-LogLevel <LogLevel>] [-LogPath <String>] [-PackageName <String>] [-PackagePath <String>] [-Scratch
Directory <String>] [-SystemDrive <String>] [-WindowsDirectory <String>] -Path <String> [<CommonParameters>]





Description
The Get-WindowsPackage cmdlet gets information about all packages in a Windows image or about a specific package that i
s 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 s
pecify 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 Wi
ndows 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.