Windows System Inventory using PowerShell - HTML Output

Windows System Inventory using PowerShell - HTML Output

 
 
 
 
 
4.4 Star
(7)
9,457 times
Add to favorites
10/3/2014
E-mail Twitter del.icio.us Digg Facebook
  • you should check
    1 Posts | Last post August 21, 2018
    • you should check this one
      https://gallery.technet.microsoft.com/Script-Doc-Windows-Server-17168b1d
  • WorkGroup Systems Inventory
    1 Posts | Last post April 01, 2018
    • I want a script  that works with a group of computers on a network 
  • Change output from HTML to Excel .csv
    1 Posts | Last post January 31, 2018
    • I didn't see a follow-up as to how to output this to a csv, but my bigger question is how are you also creating an exe. of the ps1? Powershell Pro?
  • Work Group Systems Inventory
    1 Posts | Last post July 13, 2017
    • Thank you for sharing the scripts, I would like to know how we can take inventory of systems in work group.
  • Need to gather more parameters
    1 Posts | Last post November 25, 2015
    • I would like to gather more parameters..like processor core, speed, processor model,drive size, NIC count, IP address, subnet mask, DNS, DHCP configured.
      
  • hi Chen, Can you please tell me any script which will collect all system info and that will store in output in xls format on remote pc?
    2 Posts | Last post September 02, 2015
    • hi Chen,
      Can you please tell me any script which will collect all system info and that will store in output in xls format on remote pc?
    • Hi njoshi60, you mean a script query from your localhost / server and save output in respective remote machines? 
  • System inventory
    7 Posts | Last post March 02, 2015
    • How many system's report will I get if I run the script. I found that I get the system info where I run the script. What shall I do to get all the domain systems inv?
    • Hi John, I will share another script for your needs!!!
    • The File Location has been changed and new EXE has been updated. Please check and share your feedbacks
    • Hi John, for documenting remote machines in the domain - Please use the below command
      
      Invoke-Command -FilePath <ScriptFileLocation> -ComputerName "COMP1" , "COMP2" -Credential "DOMAIN\ADMIN"
      
      Note: The file saves in the respective server. C:\Users\DomainAdminAccount\COMP1.html
      
      Revert for any clarification
    • hi Chen, Thanks for this command we can get inventory of all servers, but can you please help me the command so that all the files/report should be saved in one central place, rather on the respective server.
    • got it working by this line.
      
      $filepath = (Set-Location "\\server\SystemInventory\Report")
    • $filepath = (Set-Location "\\server\SystemInventory\Report") this is good but ensure your filename as hostname so that it will be easy for further manipulations. 
  • Help - style/format?
    2 Posts | Last post August 15, 2014
    • Hello,
      This script is fantastic!  How can I save the reports though so that they open correctly in any browser?  I ran it against 1 server, then copied only the HTML file to another system and the format is lost.  I then copied the style.css file over and it still doesn't show up.
      I need to provide these to people that will open them on different computers.
      
      Also, can I run this against remove machines?
    • vataxe, thanks for notigying this to ensure the same look and feel in Firefox you need to Encode the HTML file as ASCII
      Code:
      ConvertTo-Html -Body "<font color = blue><H4><B>Report Executed On</B></H4></font>$ReportDate 
      <font color = blue><H4><B>General Information</B></H4></font>$ComputerSystem 
      <font color = blue><H4><B>Boot Configuration</B></H4></font>$BootConfiguration 
      <font color = blue><H4><B>BIOS Information</B></H4></font>$BIOS 
      <font color = blue><H4><B>Operating System Information</B></H4></font>$OS 
      <font color = blue><H4><B>Time Zone Information</B></H4></font>$TimeZone 
      <font color = blue><H4><B>Disk Information</B></H4></font>$Disk 
      <font color = blue><H4><B>Processor Information</B></H4></font>$SystemProcessor 
      <font color = blue><H4><B>Memory Information</B></H4></font>$PhysicalMemory 
      <font color = blue><H4><B>Software Inventory</B></H4></font>$Software" -CssUri  "$filepath\style.CSS" -Title "Server Inventory" | 
      Out-File "$FilePath\$ComputerName.html" -Encoding ascii
  • audit report inventory
    7 Posts | Last post July 04, 2014
    • Hi,
      
      i have a microsoft audit coming and don't know where and how to start...
      
      we have more than 200+ pc's
      
      i think i good start would be a vbs script or something that would report the following:
      
      PC brand, model, serial number, cpu, memory, gpu, hdd,network card, ip fixed or dhcp, printers, screen model, username, logonname, netbios, domain and finally installed software and keys... mostly office 2007,2010,2013 and windows 7, xp but we still have a few older somewhere for sure.
      
      help?
    • We can do this in PowerShell, but it will work on Win XP with SP 3. Older version doesn't. Any machines from XP SP 3 to Win 8.1 you can use PS. You can fetch all your needs. Let me know if we can proceed. I can make a code for you and post. 
    • most of the pc's should be up to date on that level (service pack)
      so it would be very nice of you
    • also there are a few or more than just a few pc's which aren't in the domain and don't even have network connection so perhaps something to audit locally would be more useful
    • Indeed if it's not in domain you can't do remoting. You have to run on those machine manually.
      Do you have SCCM in your environment?
    • no we don't
    • actually i think that something like belarc would be nice but without having to install it (portable) and being free! for corporate usage
  • Could you please provide with the script file that invoke the other system details in html as well?
    1 Posts | Last post February 05, 2014
    • Could you please provide with the script file that invoke the other system details in html as well?
1 - 10 of 12 Items