Get-Printerlogs
SYNOPSIS
Retrieve printer logs from specified servers.
SYNTAX
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
Retrieves printer logs from `srvprint01` and `srvprintond01` and exports the results to a CSV file.