powershell - extract values from printlog file , getting user and pagecount from a specific printer -


is there easy way per user total pages have printed on specific printer. , put them in text or csv file? printserver have windows 2008 32 bits os. in 2008 ad enviroment

regards

dennis

this easy value each computer, using performance counter cmdlets built powershell v2. it's less easy match these values set of users, active directory should lot of help.

get-counter counter values, , list counters exist. 1 liner gives print queue counters:

get-counter -listset "*print*" | select-object -expandproperty paths 

to see how many pages computer has printed, use:

get-counter '\print queue(*)\total pages printed' 

hope helps


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -