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
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