# SCCM application copy and modification of property values

**URL:** <https://forums.powershell.org/t/sccm-application-copy-and-modification-of-property-values/4839>\
**Category:** PowerShell Help\
**Created:** [September 8, 2015, 5:36am UTC](https://forums.powershell.org/t/sccm-application-copy-and-modification-of-property-values/4839 "2015-09-08T05:36:04Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![john-doe1](https://avatars.discourse-cdn.com/v4/letter/j/85e7bf/32.png) [@john-doe1](https://forums.powershell.org/u/john-doe1)\
**Post date:** [September 8, 2015, 5:36am UTC](https://forums.powershell.org/t/sccm-application-copy-and-modification-of-property-values/4839/1 "2015-09-08T05:36:04Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![donj](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.powershell.org/donj/32/137_2.png) [@donj](https://forums.powershell.org/u/donj)\
**Post date:** [September 8, 2015, 5:39am UTC](https://forums.powershell.org/t/sccm-application-copy-and-modification-of-property-values/4839/2 "2015-09-08T05:39:21Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![john-doe1](https://avatars.discourse-cdn.com/v4/letter/j/85e7bf/32.png) [@john-doe1](https://forums.powershell.org/u/john-doe1)\
**Post date:** [September 8, 2015, 6:17am UTC](https://forums.powershell.org/t/sccm-application-copy-and-modification-of-property-values/4839/3 "2015-09-08T06:17:00Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![john-doe1](https://avatars.discourse-cdn.com/v4/letter/j/85e7bf/32.png) [@john-doe1](https://forums.powershell.org/u/john-doe1)\
**Post date:** [September 15, 2015, 1:50am UTC](https://forums.powershell.org/t/sccm-application-copy-and-modification-of-property-values/4839/4 "2015-09-15T01:50:58Z")

</div>

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”

---

<div class="post-metadata">

**Author:** ![dotnVo](https://avatars.discourse-cdn.com/v4/letter/d/4af34b/32.png) [@dotnVo](https://forums.powershell.org/u/dotnVo)\
**Post date:** [May 16, 2024, 8:44pm UTC](https://forums.powershell.org/t/sccm-application-copy-and-modification-of-property-values/4839/5 "2024-05-16T20:44:46Z")

</div>


