AL/Get-ManifestFromAppFile.ps1
function Get-ManifestFromAppFile { param ( [Parameter(Mandatory=$true)] [string] $Path ) $TempPath = Create-TempDirectory $7ZipPath = "C:\Program Files\7-Zip\7z.exe" Start-Process -FilePath $7ZipPath -ArgumentList ('x', ('"{0}"' -f $Path), ('-o"{0}"' -f $TempPath), '-y') -Wait [xml]$ManifestXml = Get-Content (Join-Path $TempPath 'NavxManifest.xml') $ManifestXml } Export-ModuleMember -Function Get-ManifestFromAppFile |