Forums on Intune, SCCM, and Windows 11

Welcome to the forums. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your topics and posts, as well as connect with other members through your own private inbox!

SOLVED Application visible in Software Centre but not visible in Powershell

  • Thread starter Thread starter macquazi
  • Start date Start date
  • Replies Replies 4
  • Views Views 5K
Status
Not open for further replies.

macquazi

Member
Messages
8
Reaction score
1
Points
3
Hi, I am trying to use powershell to install an available application from software centre.

When running Get-WmiObject -Class CCM_Application -Namespace "root\ccm\clientsdk" | select name,publisher,softwareversion | ft -AutoSize

it shows me most of my applications that are in software center, installed/not intalled

However I recently packaged a new piece of software and it is available in SC. However when running the above code it does not see it. As result when calling upon it to install, it fails.

This does not happen on every device. I have setup both user and device collections for the application whether that makes a difference. I think there may be a difference between when a machine is targeted and when a user is targeted.

Can anyone offer any advice on why this would be? or anything else I could try?

I am quite new to this, so any help would be much appreciated. Thanks
 
I bet it is because of user APPs. and therefore you have a different WMI call for that.
 
Solution
Status
Not open for further replies.

Forum statistics

Threads
7,166
Messages
27,975
Members
18,278
Latest member
MLab

Latest posts

Trending content

Back
Top