Show-MsiInfo
Show information about an MSI file
Show information about an MSI file, this includes the MSI code and version.
Syntax
MsiPath (default)
Show-MsiInfo -MsiPath <String>
Parameter | Req. | Type | Description |
---|---|---|---|
-MsiPath | ✅ | String | Path to the MSI file |
MsiUrl
Show-MsiInfo -MsiUrl <Uri> [-OutputPath <String>] [-OutputFilename <String>]
Parameter | Req. | Type | Description |
---|---|---|---|
-MsiUrl | ✅ | Uri | URL to the MSI file |
-OutputPath | ❌ | String | Path to save the MSI file |
-OutputFilename | ❌ | String | Filename to save the MSI file, if cannot be discovered from url |
Examples
Show information about an MSI file
Show information about an MSI file, this includes the MSI code and version.
Show-MsiInfo -MsiPath "C:\path\to\file.msi"
Show information about an MSI file from URL
Download an MSI file and show the details
Show-MsiInfo -MsiUrl "https://example.com/file.msi" -OutputPath "C:\path\to"