Send-AppvClientReport

Mis à jour: décembre 2014

S'applique à: Application Virtualization 5.0, Application Virtualization 5.0 SP1, Application Virtualization 5.0 SP2, Application Virtualization 5.0 SP3

Send-AppvClientReport

Sends reporting data from the client.

Syntaxe

Parameter Set: ByUrl
Send-AppvClientReport [[-URL] <String> ] [-DeleteOnSuccess] [-NetworkCostAware] [ <CommonParameters>]




Description détaillée

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 will be 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, once the data is sent, the data is not deleted from the client and will be 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, a success message is displayed.

The cmdlet fails if reporting is not enabled.

The cmdlet fails if there is no valid location specified.

Paramètres

-DeleteOnSuccess

Alias

none

Obligatoire ?

false

Position ?

named

Valeur par défaut

none

Accepter l’entrée de pipeline ?

false

Accepter les caractères génériques ?

false

-NetworkCostAware

Alias

none

Obligatoire ?

false

Position ?

named

Valeur par défaut

none

Accepter l’entrée de pipeline ?

false

Accepter les caractères génériques ?

false

-URL<String>

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


Alias

none

Obligatoire ?

false

Position ?

1

Valeur par défaut

none

Accepter l’entrée de pipeline ?

false

Accepter les caractères génériques ?

false

<CommonParameters>

Cette applet de commande prend en charge les paramètres courants : -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer et -OutVariable. Pour plus d’informations, consultez about_CommonParameters (http://go.microsoft.com/fwlink/p/?LinkID=113216).

Entrées

Le type d’entrée correspond au type des objets que vous pouvez transmettre à l’applet de commande.

Sorties

Le type de sortie est le type des objets émis par l’applet de commande.

Exemples

Example 1: Send data to previously configured location

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


PS C:\> Send-AppVClientReport

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

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


PS C:\> Send-AppVClientReport -DeleteOnSuccess

Example 3: Send data to specified location and delete data

This command sends the data to the location specified by the URL parameter and deletes the data after sending.


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

Example 4: Send data to incorrect location

This command tries to send the data to the location specified by the URL parameter but since the server name is incorrect, the sending action fails and an error is returned. The data is not deleted.


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

Rubriques connexes

Ajouts de la communauté

AJOUTER
Afficher: