Exporting logs with Application Verifier
Dave
206
Reputation points
I'm running the following commands in PowerShell, but can't get it to understand my log export:
- Get help syntax:
appverif -?
, the output includes this syntax:appverif -export log -for foo.exe -with to=c:\sample.xml
- Enable settings for my app:
appverif /verify CPPDefaultConsoleApplication.exe
- Run my app:
.\CPPDefaultConsoleApplication\Release\CPPDefaultConsoleApplication.exe
- Export the log to XML:
appverif -export log -for CPPDefaultConsoleApplication.exe -with To=C:\logs\sample.xml
Application Verifier 10.0.19041 (x64)
Copyright (c) Microsoft Corporation. All rights reserved.
AVRF: Error: Failed to understand command line [-export log -for CPPDefaultConsoleApplication.exe -with to=C:\logs\sample.xml]. Please use '-?' for help information.
C:\logs
does exist.
If I open Application Verifier GUI I can see the application, see the log entry and use "Save As..." to export to XML. (The View button does nothing). I can't use the GUI long-term as I am trying to run in a CI pipeline.
Windows for business Windows Server User experience PowerShell
8,330 questions
Sign in to answer