Special thank you to user4317867 for the push. To add to MicTech's solution - use wmic and capture the list of installed software to a file: Open a command-line window ( Windows + R, CMD.EXE) wmic /OUTPUT:mysoftware.txt product get name. From here, we know that other installers like InstallShield, Wise, NSIS do not register the applications with WMIC so. To do that, type in the following command and hit the enter key wmic product get name,version The list of installed programs and their version number will be in front of you. Since it takes a minute or 2 to generate the results I figured by eliminating all offline nodes it would save some time. To follow-up and expand upon this question, I want to know how to get a list of applications as shown in appwiz.cpl which always shows all installed applications. Using Command Prompt If you are comfortable on Command Prompt, there is a different way to find the list of installed programs, and then export it to a file. 11 Answers Sorted by: 51 If you use Windows Vista or Windows 7 and you didn't want install additional software, you can: Open a command-line window ( Windows + R, CMD.EXE) Type wmic ( Enter) Type product get name ( Enter) Share Improve this answer Follow edited at 7:25 Peter Mortensen 12. You could run the scan on an entire subnet but I chose to scan or available nodes and run the script only on those nodes. Get-WmiObject -Class Win32_Product -ComputerName $ComputerName | Select-Object Name, IdentifyingNumber | Export-Csv C:\Installed-Software\$ComputerName-installed-programs.csv } Below is the script: $IPAddress = Get-Content Z:\Installed-Software\ip-addresses.txt Win32product Class is not query optimized. There is some good documentation from Microsoft on this in KB974524. Here is the message inside the entries, obviously with a different product named in each event. The script will run each IP address and save the results of each IP in a sperate file. Have a look at the Application Event Log after running the above command (preferably on a test system). SimpleWMIView is a simple tool for Windows that displays the result of WMI queries in a simple table, and allows you to easily export the data to. The script pulls the IP addresses from the txt file I previously generated. Then I exported the list to a CSV file and then modified it so that only the IP addresses showed. Second, I ran an IP scan using Angry IP of all available nodes. That fixed the "RPC server is unavailable" response. I figured out the problem and this is what I did.įirst, I added a GPO that to the computer configuration that would accept WMI-In.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |