Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Doing reports of a print server and File Server


  • Please log in to reply
1 reply to this topic

#1 nankura

nankura

  • Members
  • 1 posts
  • OFFLINE
  •  
  • Local time:12:41 PM

Posted 13 April 2016 - 04:00 AM

Hey guys

Ok so basically, i want to do a report on a print server, and a file server and i need the most efficient way, or simplest way to get the following details but i'm abit lost on how to go about it

I need to find specific folders on the file server and generate a report on filers larger than 5MB, and that havn't been opened for over a year

With the print server

I need a detailed list of the ip/port, hostname, and printer details, and im lost in this one since the printer management console has ports, printers, etc and they seem like seperate lists

And i need to put it all into excel and match the ip's with the printer names and driver versions, etc. 

 

So im wondering what tools i can use



BC AdBot (Login to Remove)

 


#2 sflatechguy

sflatechguy

  • BC Advisor
  • 2,200 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:09:41 PM

Posted 17 April 2016 - 12:08 PM

For the first, you can create a PowerShell script and run it as a scheduled task. The cmdlet you'll use is Get-ChildItem; you'll want to do a where-object that looks at the Length and CreationTime attributes. You can export the results to a CSV file.

 

As for the printers, you can create another PowerShell script, this time utilizing Get-WMIObject $_Win32_Printer, and search for the properties you need.


Edited by sflatechguy, 17 April 2016 - 12:13 PM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users