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.

Description

This function saves a summary or detailed HTML report of the specified App-V 5.0 .APPV package contents.

Sample Summary Report

PowerShell App-V5 Summary Report

Syntax

Save-AppV5FileReport [-AppV] <String> [[-FilePath] <String>] [[-CSS] <String>] [[-Detailed]] [[-Open]] [<CommonParameters>]

Parameters

-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

-FilePath <String>
The target directory to save the generated AppV5Report.html file

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

-CSS <String>
Custom Cascading Stlye Sheet (CSS), i.e. <style></style>

Required? false
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false

-Detailed [<SwitchParameter>]
Create a detailed report including Asset Intelligence and the Package Contents

Required? false
Position? 4
Default value False
Accept pipeline input? false
Accept wildcard characters? false

-Open [<SwitchParameter>]
Opens the resulting HTML file in the default browser

Required? false
Position? 5
Default value False
Accept pipeline input? false
Accept wildcard characters? false

<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).

Examples

Creates an <PackageName>_Report.html summary HTML report in the location of the c:\package.APPV App-V 5.0 .APPV package file.

C:\PS>Save-AppV5FileReport -AppV c:\package.appv

Creates a detailed HTML <PackageName>_Report.html report of the c:\package.APPV App-V 5.0 .APPV package file in the c:\temp\ directory.

C:\PS>Save-AppV5FileReport -AppV c:\package.appv -FilePath c:\temp\ -Detailed

Creates a summary HTML <PackageName>_Report.html report in the location of the c:\package.APPV App-V 5.0 .APPV package file and opens it in the default browser.

C:\PS>Save-AppV5FileReport -AppV c:\package.appv -Open

Creates a c:\temp\<PackageName>_Report.html summary HTML report of the c:\package.appv App-V 5.0 .APPV package file using custom CSS contained in the $CSS variable.

C:\PS>Save-AppV5FileReport -AppV c:\package.appv -FilePath c:\temp\ -CSS $CSS

Sample Detailed Report

PowerShell App-V5 Detailed Report

Archives

Categories