NAME

Get-DcsRecordingStatistics

SYNOPSIS

Returns the statistics for the database to which the specified recording endpoint is connected at the moment.

SYNTAX

Get-DcsRecordingStatistics   [ -Endpoint <Object> ]   [ -Connection <String> ]   [ -PipelineVariable <String> ]

DESCRIPTION

Returns the statistics for the database to which the specified recording endpoint is connected at the moment. Statistics include timestamp of first and last record, name and the size of the database used by the recording endpoint, the total number of counters, samples, and instances, and more.

PARAMETERS

-Endpoint<Object>
The RecordingEndpointData object, name or ID that identifies a recording endpoint. If the endpoint is not specified, statistics for the "!UserRecordingEndpoint" will be returned.

Required: false
Position: named
Default value:
Accept pipeline input: true (ByValue)
Accept wildcard characters: false

-Connection<String>
Alias of the connection to the server group. If not specified, the default connection will be used.

Required: false
Position: named
Default value:
Accept pipeline input: false
Accept wildcard characters: false

-PipelineVariable<String>

Required: false
Position: named
Default value:
Accept pipeline input: false
Accept wildcard characters: false

INPUTS

PerformanceRecordingSessionData : Object that identifies and describes a performance recording session.

OUTPUTS

PerformanceRecordingSessionData : Object that identifies and describes a performance recording session.

NOTES

Also see Get-DcsRecordingSession, Get-DcsRecordingInstance, Get-DcsRecordingPerformance, Get-DcsRecordingPoint, Get-DcsRecordingResolution, Get-DcsRecordingEndpoint

EXAMPLES


-------------- Example 1 Returns statistics for the recording session --------------
Get-DcsRecordingEndpoint -Endpoint "User recording endpoint" | Get-DcsRecordingStatistics
		

The cmdlet Get-DcsRecordingEndpoint is invoked to retrieve the RecordingEndpointData object for the "User recording endpoint" and pipes the results to the cmdlet Get-DcsRecordingStatistics to return the statistics of the specified recording session.

TotalCounters:816
TotalSamples:48
TotalInstances:4
UsedSize:2.69 MiB
FirstRecord:9/3/2015 8:20:00 PM
LastRecord:9/3/2015 8:50:00 PM
DatabaseName:DcsPerf
MinimumResolution:00:00:30
EndpointId:7A46DCA6-85CA-4E52-9329-A2CD7C565B14
CurrentHostId:A9DF0027-4577-42ED-B98F-5F39CDFE248E