This PowerShell module is included as part the Virtual Engine App-V 5.0 PowerShell modules download. For installation details, please refer to the Installing the New App-V 5 PowerShell Modules post. Note: This module requires PowerShell 3.0 and the Microsoft .Net Framework 4.5.


This function attempts to extract the contents of a specific App-V 5.0 XML file from a compressed .APPV package/archive and return the contents as a System.Xml.XmlDocument object. The -XML parameter has a specific set of options and is not case-sensitive (unlike the Get-AppV5File module).


Get-AppV5FileXml [-AppV] <String> [-XML] <String> [<CommonParameters>]


-AppV <String>

The source App-V 5.0 package/archive .APPV file

Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false

-XML <String>

The specific App-V 5.0 XML file within the App-V 5.0 package/archive .APPV file to extract

Required? true
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false


This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, see
about_CommonParameters (


Extracts the AppxManifest.xml file from the App-V 5.0 c:\package.appv file and returns the contents as an System.Xml.XmlDocument.

C:\PS> Get-AppV5FileXml -AppV c:\package.appv -XML AppxManifest

Code Snippet

C:\PS> $XML = Get-AppV5FileXml -AppV c:\package.appv
C:\PS> $XML.Package.Applications.Application

Id : [{AppVPackageRoot}]\chrome.exe
Origin : Application
TargetInPackage : true
Target : [{AppVPackageRoot}]\chrome.exe
VisualElements : VisualElements

C:\PS> $XML.Package.Identity.VersionId