< Back

Send-AppvClientReport

Tue Jan 29, 2019 9:25 pm

NAME Send-AppvClientReport



SYNOPSIS

Sends reporting data from the client.





SYNTAX

Send-AppvClientReport [[-URL] <String>] [-DeleteOnSuccess] [-NetworkCostAware] [<CommonParameters>]





DESCRIPTION

The Send-AppVClientReport cmdlet sends all the available reporting data to the specified location in XML format. You can delete the data from the

client. Reporting must be enabled. By default, the data is sent to the location that is listed in the ReportingServer registry value. This value

can be either an UNC Share or the name of the Microsoft Application Virtualization (App-V) Reporting Server. To override this location, you can

specify a location by using the URL parameter. The location can be either an UNC share or the App-V Reporting Server location.



By default, after the data is sent, the data is not deleted from the client and is sent to the reporting server as part of the next scheduled

sync, if applicable. You can specify to delete the data from the client. If the DeleteOnSuccess parameter is specified, the reporting data is

deleted from the client.



If the data is successfully sent, this cmdlet displays a success message.



If reporting is not enabled, the cmdlet fails.



If there is no valid location specified, the cmdlet fails.





PARAMETERS

-DeleteOnSuccess [<SwitchParameter>]

Indicates that this cmdlet delete the data after it has been sent.



Required? false

Position? named

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-NetworkCostAware [<SwitchParameter>]

Indicates that this cmdlet is network cost aware.



Required? false

Position? named

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-URL [<String>]

Specifies the location on the reporting server where client information is saved.



Required? false

Position? 1

Default value none

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS









OUTPUTS









Example 1: Send data to previously configured location



PS C:\\> Send-AppVClientReport

The Application Virtualization Client Report was sent sucessfully



This command sends the data to the location that is configured in the client and does not delete the data after it is sent.





Example 2: Send data to previously configured location and delete data



PS C:\\> Send-AppVClientReport -DeleteOnSuccess

Tee Application Virtualization Client Report was sent sucessfully



This command sends the data to the location that is configured in the client and deletes the data after it is sent.





Example 3: Send data to specified location and delete data



PS C:\\> Send-AppVClientReport -URL "http://myreportingserver:port" -DeleteOnSuccess

The Application Virtualization Client Report was sent sucessfully



This command sends the data to the location specified by the URL parameter and deletes the data after it is sent.





Example 4: Send data to incorrect location



PS C:\\> Send-AppVClientReport -URL "http://incorrectservername:port" -DeleteOnSuccess

The reporting server or share location has not been specified. You must specify the reporting server or share location using the following

format: -Url <location>



This command tries to send the data to the location specified by the URL parameter but because the server name is incorrect, the sending action

fails and an error is returned. The data is not deleted.







RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?LinkId=827721