you should check this one https://gallery.technet.micros oft.com/Script- Doc-Windows-Ser ver-17168b1d
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?
Thank you for sharing the scripts, I would like to know how we can take inventory of systems in work group.
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?
Hi njoshi60, you mean a script query from your localhost / server and save output in respective remote machines?
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?
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\Domain AdminAccount\CO MP1.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\Repo rt")
$filepath = (Set-Location "\\server\SystemInventory\Repo rt") this is good but ensure your filename as hostname so that it will be easy for further manipulations.
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></fo nt>$ReportDate <font color = blue><H4><B>Gen eral Information</B> </H4></font>$Co mputerSystem <font color = blue><H4><B>Boo t Configuration</ B></H4></font>$ BootConfigurati on <font color = blue><H4><B>BIO S Information</B> </H4></font>$BI OS <font color = blue><H4><B>Ope rating System Information</B> </H4></font>$OS <font color = blue><H4><B>Tim e Zone Information</B> </H4></font>$Ti meZone <font color = blue><H4><B>Dis k Information</B> </H4></font>$Di sk <font color = blue><H4><B>Pro cessor Information</B> </H4></font>$Sy stemProcessor <font color = blue><H4><B>Mem ory Information</B> </H4></font>$Ph ysicalMemory <font color = blue><H4><B>Sof tware Inventory</B></ H4></font>$Soft ware" -CssUri "$filepath\styl e.CSS" -Title "Server Inventory" | Out-File "$FilePath\$Com puterName.html" -Encoding ascii
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?
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?