简体   繁体   English

Powershell SCCM 客户端应用程序安装

[英]Powershell SCCM client side application install

I am trying to write a script that can be ran on a client system to install an application from software center.我正在尝试编写一个可以在客户端系统上运行的脚本,以从软件中心安装应用程序。 I found this and modified it to run on a local machine.我找到了这个并将其修改为在本地机器上运行。 https://timmyit.com/2016/08/08/sccm-and-powershell-force-installuninstall-of-available-software-in-software-center-through-cimwmi-on-a-remote-client/ https://timmyit.com/2016/08/08/sccm-and-powershell-force-installuninstall-of-available-software-in-software-center-through-cimwmi-on-a-remote-client/

The problem is that in root/ccm/clientSDK:CCM_Application only gets populated with software that has been installed, as far as I can tell anyway.问题是在 root/ccm/clientSDK:CCM_Application 中只填充已安装的软件,据我所知。 Is there a method that I can call to search the SCCM Catalog for the application I need?是否有一种方法可以调用以在 SCCM 目录中搜索我需要的应用程序? I have searched for an answer to this for a couple days now.我已经搜索了几天的答案。 The server is managed by a different team in the company so I only have access to client side.服务器由公司的不同团队管理,所以我只能访问客户端。 I am still new to both SCCM and Powershell.我对 SCCM 和 Powershell 还是新手。

I believe the short answer is No, see below link to a similar question.我相信简短的回答是否定的,请参阅以下类似问题的链接。

CCM_Application User available software missing CCM_Application 用户可用软件丢失

Software deployed to Software Centre or to an "All Users" collection is not searchable via the sdk classes无法通过 sdk 类搜索部署到软件中心或“所有用户”集合的软件

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM