IP Usage History Check


hi,

the case win serv 2003 standard sp2 32bit used print server.

i trying find out usage history of ports allocated printers, last 30 days.

i have lot of them or have been offline time, , want free them. beeing more 400 it`s hard ping them or use dedicated program. don`t show info past.

so...i`m lookign solution won`t require dedicated application. i`m searching log file or script.

thank help.

regards,

daniel.


an alternative lists ports used without other data run this:

get-eventlog -logname system -source print -computername printserver -after 29-2-2012 | select -expandproperty message | foreach-object {([regex]::split($_,'via port|.\s\s'))[1].trim() }

where replace 29-2 date looking for. date notation may vary based on geographical location.



Windows Server  >  Windows PowerShell



Comments

Popular posts from this blog

Motherboard replacement

Cannot create Full Text Search catalog after upgrading to V12 - Database is not fully started up or it is not in an ONLINE state

Remote Desktop App - Error 0x207 or 0x607