-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Start-CitrixCallHomeUpload
-
This content has been machine translated dynamically.
Dieser Inhalt ist eine maschinelle Übersetzung, die dynamisch erstellt wurde. (Haftungsausschluss)
Cet article a été traduit automatiquement de manière dynamique. (Clause de non responsabilité)
Este artículo lo ha traducido una máquina de forma dinámica. (Aviso legal)
此内容已经过机器动态翻译。 放弃
このコンテンツは動的に機械翻訳されています。免責事項
이 콘텐츠는 동적으로 기계 번역되었습니다. 책임 부인
Este texto foi traduzido automaticamente. (Aviso legal)
Questo contenuto è stato tradotto dinamicamente con traduzione automatica.(Esclusione di responsabilità))
This article has been machine translated.
Dieser Artikel wurde maschinell übersetzt. (Haftungsausschluss)
Ce article a été traduit automatiquement. (Clause de non responsabilité)
Este artículo ha sido traducido automáticamente. (Aviso legal)
この記事は機械翻訳されています.免責事項
이 기사는 기계 번역되었습니다.책임 부인
Este artigo foi traduzido automaticamente.(Aviso legal)
这篇文章已经过机器翻译.放弃
Questo articolo è stato tradotto automaticamente.(Esclusione di responsabilità))
Translation failed!
Start-Citrixcallhomeupload
Requests the Citrix Telemetry Service to upload the collected data to the Citrix Insight Services (CIS) or to copy the data to a folder (for manual upload to CIS).
Syntax
Start-CitrixCallHomeUpload [-Credential] <PSCredential> -UploadGrantToken <String> -UploadToken <String> [-InputPath <String>] [-InputPath <String>] [-Description <String>] [-IncidentTime <String>] [-SRNumber <String>] [-Name <String>] [-UploadHeader <String>] [-AppendHeaders <String>] [-Collect <String>] [<CommonParameters>]
Start-CitrixCallHomeUpload -UploadGrantToken <String> [-InputPath <String>] [-Description <String>] [-IncidentTime <String>] [-SRNumber <String>] [-Name <String>] [-UploaderHeader <String>] [-AppendHeaders <String>] [-Collect <String>] [<CommonParameters>]
Start-CitrixCallHomeUpload -UploadToken <String> [-InputPath <String>] [-Description <String>] [-IncidentTime <String>] [-SRNumber <String>] [-Name <String>] [-UploaderHeader <String>] [-AppendHeaders <String>] [-Collect <String>] [<CommonParameters>]
Start-CitrixCallHomeUpload -OutputPath <String> [-InputPath <String>] [-Description <String>] [-IncidentTime <String>] [-SRNumber <String>] [-Name <String>] [-UploaderHeader <String>] [-AppendHeaders <String>] [-Collect <String>] [<CommonParameters>]
<!--NeedCopy-->
Detailed Description
The Start-CitrixCallHomeUpload cmdlet request an upload of the collected diagnostic data.
Only one of the following parameters needs to be specified in order to upload to Citrix Insight Services (CIS). Credential - Citrix credentials. UploadGrantToken - Can be obtained by using New-CitrixCallHomeUploadGrantToken cmdlet. UploadToken - Can be obtained by using New-CitrixCallHomeUploadToken cmdlet.
If the OutputPath parameter is specified, the upload is directed to the specified file. The data may then be uploaded manually using the CIS web site.
The optional InputPath parameter may be set to the path to a zip file that will be included in the uploaded bundle.
The Description and Incident Time provide some basic information about this upload request. Set the SRNumber to the Citrix Technical Support incident number.
The Name parameter provides the default file name that is used when you download the bundle from the CIS web site.
The diagnostic data uploaded is determined by the service.
The optional UploadHeader parameter accepts a json-formatted string, which specify the upload headers passed to CIS.
The optional AppendHeaders parameter accepts a json-formatted string, which specify the appended headers uploaded to CIS.
The optional Collect parameter accepts a json-formatted string, which specify the parameters passed to collectors. Current collectors consist of ‘sfb’, ‘wmi’, ‘process’, ‘registry’, ‘crashreport’, ‘trace’, ‘file’, ‘msi’, ‘localdata’ and ‘sitedata’. Each of the collectors accepts at least a parameter ‘enabled’, used to disable the collector. By default, all collectors are enabled except for the ‘sfb’ collector, because ‘sfb’ collector is used for users to diagnose the skype failure and designed to be on-demand.
‘sfb’ collector supports three parameters ‘account’, ‘accounts’ and ‘enabled’, first two of which specify the target user(s) ‘sfb’ collector will collect skype logs for, and can not coexist. If ‘sfb’ parameter is not null in -Collect json string, the ‘sfb’ collector will be enabled unless the ‘enabled’ is false.
‘file’ collector supports two parameters ‘input’ and ‘enabled’, ‘input’ is an array of string, which means the file paths that are going to be injected into the upload bundle, it has the same effect of ‘-InputPath’. the ‘file’ collector will be enabled unless the ‘enabled’ is false.
The upload may take a long time to finish. If the cmdlet times out, the system event log can be used to check the status of the upload. The upload request may be rejected if the service is already performing an upload.
Related Commands
Parameters
Name | Description | Required? | Pipeline Input | Default Value |
---|---|---|---|---|
Credential | Represents the Citrix user account of an authorized administrator. The machine identity within Citrix Insight Services is derived from this user. | true | True (ByValue and ByPropertyName) | |
UploadGrantToken | The Upload Grant Token is associated with the company/organization rather than the individual creating the grant and is used to create an Upload Token. Citrix Call Home Upload Grant Token can be generated from New-CitrixCallHomeUploadGrantToken cmdlet. | true | True (ByValue and ByPropertyName) | |
UploadToken | The Upload Token is included in HTTP headers of Citrix Insight Services payload to identify the upload is authenticated/identifiable. Citrix Call Home Upload Token can be generated from New-CitrixCallHomeUploadToken cmdlet. | true | True (ByValue and ByPropertyName) | |
OutputPath | A file name for the service write the diagnostic data to. The file should be specified with a .zip extension as the package is a ZIP file. | true | True (ByValue and ByPropertyName) | |
InputPath | The path to a .zip file to include in the uploaded data bundle. | false | true (ByPropertyName) | |
Description | A brief description of the reason for the upload. You should provide any general information such information that could help Citrix Technical Support to analyze the data. | false | True (ByPropertyName) | |
IncidentTime | The approximate time at which the incident of concern occurred. This helps Citrix Technical Support focus thee analysis the data. If this is not specified, it is set the current local time. | false | True (ByPropertyName) | |
SRNumber | Specifies Citrix Technical Support incident number | false | true (ByPropertyName) | |
Name | A name used to identify this upload (or set of related uploads). This is the default file name when you download the bundle from the CIS web site. | false | true (ByPropertyName) | |
UploadHeader | false | true (ByPropertyName) | ||
AppendHeaders | false | true (ByPropertyName) | ||
Collect | Specify the parameters passed to collectors. Json-formatted. | false | true (ByPropertyName) | |
Streaming | Specify the parameter boolean parameter to enable/disable Streaming of upload bundles. Streaming is enabled by default. | false | true (ByPropertyName) | |
ParallelCollection | Specify the boolean parameter to enable/disable Parallel Collection of upload bundles. Parallel Collection is enabled by default. | false | true (ByPropertyName) | |
CDFControlTraces | Specify the location of CDF Traces to be injected with CallHome bundle. | false | true (ByPropertyName) |
Input Type
System.String
This cmdlet accepts a string as input that populates the Description parameter.
System.String
This cmdlet accepts a string as input that populates the IncidentTime parameter.
System.String
This cmdlet accepts a string as input that populates the Name parameter.
System.String
This cmdlet accepts a string as input that populates the UploadGrantToken parameter.
System.String
This cmdlet accepts a string as input that populates the UploadToken parameter.
System.String
This cmdlet accepts a string as input that populates the OutputPath parameter.
System.String
This cmdlet accepts a string as input that populates the InputPath parameter.
System.String
This cmdlet accepts a string as input that populates the Collect parameter.
Return Values
Notes
Check system event log to find out more status about the upload request.
Examples
Example 1: Upload Diagnostic Data To Citrix Insight Services
C:\PS>$uploadGrantToken = New-CitrixCallHomeUploadGrantToken -Credential (Get-Credential)
C:\PS>Start-CitrixCallHomeUpload -UploadGrantToken $uploadGrantToken -InputPath "c:\Diagnostics\ExtraData.zip" -Description "Registration failures with PVS VDAs" -IncidentTime "14:30" -SRNumber 123456 -Name "RegistrationFailure-021812016" -Collect "{'wmi':{'enabled':false}}" -UploadHeader "{'key1':'value1'}" -AppendHeaders "{'key2':'value2'}"
<!--NeedCopy-->
This command requests a upload of the diagnostic data (exclude the data from wmi collector) to the Citrix CIS site using credentials entered by the interactive user. The estimated incident time is 2:30 PM for the Citrix Technical Support case 123456.
The file “c:\Diagnostics\ExtraData.zip” will be incorporated into the uploaded bundle.
Example 2: Export The Diagnostic Data To A File
C:\PS>Start-CitrixCallHomeUpload -OutputPath \\mynetwork\myshare\mydata.zip -InputPath "c:\Diagnostics\ExtraData.zip" -Description "Diagnostics for incident number 223344" -IncidentTime "8:15" -SRNumber 223344
<!--NeedCopy-->
This command requests that the diagnostic data for incident 223344 that occurred near 8:15 AM to be written to mydata.zip. The file “c:\Diagnostics\ExtraData.zip” will be incorporated into the uploaded bundle.
Example 3: Upload Skype For Business Logs To Citrix Insight Services
C:\PS>Start-CitrixCallHomeUpload -Credential (Get-Credential) -Description "Skype login failure" -Collect "{'sfb':{'account':'domain\\user1'}}"
C:\PS>Start-CitrixCallHomeUpload -Credential (Get-Credential) -Description "Skype login failures" -Collect "{'sfb':{'accounts':['domain\\user1', 'domain\\user2']}}"
<!--NeedCopy-->
The first command requests upload of the diagnostic data (including the skype logs for domain user user1) to the Citrix CIS site using credentials entered by the interactive user. The ‘sfb’ parameter enable the collection and upload of skype logs. The second one is same as the first one except for it will collect skype logs for two domain users: user1 and user2.
Example 4: Include Cdf Traces Along With Diagnostic Data
C:\PS>Start-CitrixCallHomeUpload -Credential (Get-Credential) -CDFControlTraces @("C:\CDFControl\CDFControl_log_02.09.2016_10-58-33", "C:\CDFControl\CDFControl_log_21.09.2016_17-20-33")
C:\PS>Start-CitrixCallHomeUpload -Credential (Get-Credential) -CDFControlTraces "C:\CDFControl"
<!--NeedCopy-->
CDFControlTraces parameter is used to inject CDF Traces in CallHome data. The CDF output needs to be generated using CDFControl tool.
First command takes multiple input paths as array of string, each path corresponds to output location of CDFControl Traces from single seesion.
Second example takes only one input path, i.e. the parent directory and auto-detects all the CDFControl traces present within that directory. So in this case it will upload all the CDF traces present under C:\CDFControl\ .
Share
Share
In this article
This Preview product documentation is Citrix Confidential.
You agree to hold this documentation confidential pursuant to the terms of your Citrix Beta/Tech Preview Agreement.
The development, release and timing of any features or functionality described in the Preview documentation remains at our sole discretion and are subject to change without notice or consultation.
The documentation is for informational purposes only and is not a commitment, promise or legal obligation to deliver any material, code or functionality and should not be relied upon in making Citrix product purchase decisions.
If you do not agree, select I DO NOT AGREE to exit.