Skip to content

Get-Printerlogs

SYNOPSIS

Retrieve printer logs from specified servers.

SYNTAX

Get-Printerlogs

DESCRIPTION

This function retrieves printer logs from the servers `srvprint01` and `srvprintond01`. It filters the logs for events with Event ID 10 and extracts details such as document name, user, printer, size, and pages. The results are exported to a CSV file.

EXAMPLES

EXAMPLE 1

Get-Printerlogs

Retrieves printer logs from `srvprint01` and `srvprintond01` and exports the results to a CSV file.

PARAMETERS

INPUTS

OUTPUTS

NOTES