Citrix Virtual Apps and Desktops 2311 SDK

Export-LogReportHtml

Exports Configuration Logging data into a HTML report.

Syntax

Export-LogReportHtml
      [-OutputDirectory <String>]
      [-RawReport]
      [-StartDateRange <DateTime>]
      [-EndDateRange <DateTime>]
      [<CitrixCommonParameters>]
      [<CommonParameters>]
<!--NeedCopy-->

Description

This cmdlet exports the Configuration Logging data into a HTML report. The report consists of two HTML files:

  • Summary.Html - this shows summary information from the high level operation logs.
  • Details.Html - this shows additional logging data from the low level operation and operation detail logs.

Hyperlinks in summary.html allow drill-down into the associated low level logging data contained within details.html.

Examples

EXAMPLE 1

Export all logged operations to HTML.

Export-LogReportHtml -OutputDirectory "c:\MyReports"
<!--NeedCopy-->

EXAMPLE 2

Export to a HTML logged operations started on or after a specified datetime..

Export-LogReportHtml -OutputDirectory "c:\MyReports" -StartDateRange "2012-12-21 09:00"
<!--NeedCopy-->

EXAMPLE 3

Export to HTML logged operations started and completed between a date range.

Export-LogReportHtml -OutputDirectory "c:\MyReports" -StartDateRange "2012-12-21 09:00" -EndDateRange "2012-12-311 18:00"
<!--NeedCopy-->

Parameters

-OutputDirectory

Specifies the path to a directory where the HTML report files will will be saved.

Type: String
Position: Named
Default value: None
Required: False
Accept pipeline input: False
Accept wildcard characters: False

-RawReport

Get a HTML raw string report without saving it to a file.

Type: SwitchParameter
Position: Named
Default value: None
Required: False
Accept pipeline input: False
Accept wildcard characters: False

-StartDateRange

Specifies the start time of the earliest operation to include.

Type: DateTime
Position: Named
Default value: DateTime.Min
Required: False
Accept pipeline input: False
Accept wildcard characters: False

-EndDateRange

Specifies the end time of the latest operation to include.

Type: DateTime
Position: Named
Default value: DateTime.UtcNow
Required: False
Accept pipeline input: False
Accept wildcard characters: False

CitrixCommonParameters

This cmdlet supports the common Citrix parameters: -AdminAddress, -AdminClientIP, -BearerToken, -TraceParent, -TraceState and -VirtualSiteId. For more information, see about_CitrixCommonParameters.

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

None

You can’t pipe objects to this cmdlet.

Outputs

None

By default, this cmdlet returns no output.

Export-LogReportHtml