Which user printed




















Collectives on Stack Overflow. Learn more. Ask Question. Asked 11 years, 10 months ago. Active 9 years ago. Viewed 4k times.

Improve this question. Seyed Vahid Hashemi Seyed Vahid Hashemi 5, 9 9 gold badges 52 52 silver badges 86 86 bronze badges. Add a comment. Active Oldest Votes. Improve this answer. Here's an example: WMI query printers. George Johnston George Johnston Austin Salonen Austin Salonen I didn't realize the link to the source was broken. Is that a problem? Yes, it is; after all, it prevents us from using a query like this to return all the print jobs in the FinancePrinter print queue:.

How … delightful …. The percent signs are our wildcard characters: they signify any character or set of characters, much the same way the asterisk does when used with the dir command.

In other words, bring back any print job where the Name includes the string FinancePrinter. At that point all we have to do is set up a For Each loop and walk through the collection of print jobs, echoing back the value of the Owner property for each one.

The Owner property is the logon name of the connected user; for example, kmyer or packerman. For example, instead of writing a query that returns only the print jobs being printed to FinancePrinter we need to write a query that returns all the print jobs, regardless of printer:. Once we have the entire collection of print jobs we can then use the InStr function to determine whether or not the Name property includes the string FinancePrinter :.

Comments are closed. Scripting Forums. Brand Representative for Netwrix. Yup, I have dealt with situations like this in the past. The first time print logging was not enabled and the request could not be fulfilled. After that, I always suggest that print logging be enabled on all company machines, print servers and if using a MFP that supports it, on the printer itself. Get answers from your peers along with millions of IT pros who visit Spiceworks.

Hey guys, Ive been asked by HR and legal to see what a users has printed since Dec 1st. Best Answer. Pure Capsaicin. Verify your account to enable IT peers to see that you are a professional. You have to setup auditing of your Printer server or computer using it. View this "Best Answer" in the replies below ». Spiceworks Help Desk. The help desk software for IT. Track users' IT needs, easily, and with only the features you need. Learn More ».



0コメント

  • 1000 / 1000