SCCM application copy and modification of property values

This topic contains 3 replies, has 2 voices, and was last updated by  jrdba 2 years, 9 months ago.

  • Author
  • #29483


    Hi folks. I've been searching online on how to copy and modify a current SCCM application (not package) via powershell. Now i'm seeing options for export and import-cmapplication and set-CMapplication on technet but for the property fields, i'm not seeing an option to modify granular fields such as the "content-location" value which is within the "deployment types" tab for any given application property. I need to change the UNC path but don't see an option within set-cmapplication to get this portion done. Can someone advise if this is even possible. I'm not asking for code, just direction if it's possible or not. Thanks much

  • #29485

    Don Jones

    Unfortunately not, if I'm understanding the question correctly. System Center Software Deployment – sorry, I mean SCCM 🙂 – doesn't yet fully expose everything via PowerShell.

  • #29488


    Haha, thanks again for replying Don. I am able to pull several bits of info via a WMI call but it does not include the UNC path for the "content-location" as you already mention above. Thank you sir!

  • #29771


    Just an update, it is possible to update the "content-location" for an application housed in SCCM using Powershell. Here's the line of code needed below

    Set-CMDeploymentType -ApplicationName "WinZip 7.8" -DeploymentTypeName "[INSTALL] WinZip 7.8" -MsiOrScriptInstaller -ContentLocation "\\Server1111\stagedpath\application"

You must be logged in to reply to this topic.