Hey all, I've had not much luck finding complete examples on the internet that show how to initiate an application download and install on an SCCM client using powershell. I need to use this to create a script to clear the cache, re-download and install the application as it is failing on hundreds of computers.
I found this: https://msdn.microsoft.com/en-us/library/cc145211.aspx?f=255&MSPPError=-2147217396
But I don't know how to find the program or package Id. I found examples elsewhere on how it is acquired, but they seem to have access to wmi namespaces that don't exist on my clients.