Click here to Skip to main content
15,881,882 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I'd like to use PowerShell to get a list of available applications in the Software Center, and then pick the ones I wish to install on a local computer with a PowerShell script.


What I have tried:

Get-WmiObject -Namespace "root\ccm\ClientSDK" -Class CCM_Application | where {$_.Name -like "Applications name here"}


From there I can choose to reinstall that software, if it's on the list.
However, it needs to have been installed before if above code is to work. If I want to list and install software from the Software Center that has not been installed on the computer yet, like if it's a fresh Windows installation, then the above script will not show any applications listed in PowerShell even though they are available in the Software Center
Posted
Updated 14-Jul-22 6:11am

 
Share this answer
 
You copied nearly every character from a year old question into "your" question, and didn't bother to read the comments on the original question?

The comments in the original question would have given you the answer you're looking for.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900