![]() Loading |
VBScript |
JavaScript |
Powershell |
Search Options: List Print Job Information
|
||
$strComputer = "."
$colItems = get-wmiobject -class "Win32_PrintJob" -namespace "root\CIMV2" ` -computername $strComputer foreach ($objItem in $colItems) { write-host "Caption: " $objItem.Caption write-host "Data Type: " $objItem.DataType write-host "Description: " $objItem.Description write-host "Document: " $objItem.Document write-host "Driver Name: " $objItem.DriverName write-host "Elapsed Time: " $objItem.ElapsedTime write-host "Host Print Queue: " $objItem.HostPrintQueue write-host "Installation Date: " $objItem.InstallDate write-host "Job ID: " $objItem.JobId write-host "Job Status: " $objItem.JobStatus write-host "Name: " $objItem.Name write-host "Notify: " $objItem.Notify write-host "Owner: " $objItem.Owner write-host "Pages Printed: " $objItem.PagesPrinted write-host "Parameters: " $objItem.Parameters write-host "Print Processor: " $objItem.PrintProcessor write-host "Priority: " $objItem.Priority write-host "Size: " $objItem.Size write-host "Start Time: " $objItem.StartTime write-host "Status: " $objItem.Status write-host "Status Mask: " $objItem.StatusMask write-host "Time Submitted: " $objItem.TimeSubmitted write-host "Total Pages: " $objItem.TotalPages write-host "Until Time: " $objItem.UntilTime write-host } | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |