Solved

SCCM updating Application deployment

Posted on 2016-10-04
6
49 Views
Last Modified: 2016-10-16
In SCCM I created an application rather than a package for deploying Office. I have a change to an XML file for the deployment. I copied to my source directory and need to update my Distribution Point (Only have one). If I had created a Package, then I could just highlight, right click and choose "update Distribution Points". Seeing applications don't have that, I tried the following:

Update-CMDistributionPoint -ApplicationName "Microsoft Office Professional Plus 2016" -DeploymentTypeName "Deploying Office 2016"

To get there, I ran
Get-Wmiobject -Namespace "root\SMS\Site_FCB" -Class SMS_Application
and for -application name I used
LocalizedDisplayName: Microsoft Office Professional Plus 2016

for DeploymentTyeName I used
LocalizedDescription : Deploying Office 2016

However I get the following error:

PS FCB:\>Update-CMDistributionPoint -ApplicationName "Microsoft Office Professional Plus 2016" -DeploymentTypeName "Dep
oying Office 2016"
At line:1 char:1
 Update-CMDistributionPoint -ApplicationName "Microsoft Office Professional Plus  ...
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   + CategoryInfo          : InvalidArgument: (Microsoft.Confi...ionPointCommand:UpdateDistributionPointCommand) [Upd
  ate-CMDistributionPoint], ArgumentException
   + FullyQualifiedErrorId : ArgumentException,Microsoft.ConfigurationManagement.Cmdlets.Osd.Commands.UpdateDistribut
  ionPointCommand

am I using the wrong fields?
0
Comment
Question by:fcbc
  • 3
  • 3
6 Comments
 
LVL 17

Expert Comment

by:Mike T
ID: 41829605
Hi,

That looks fine to me, as per https://technet.microsoft.com/en-us/library/jj850071(v=sc.20).aspx.
You need to be careful/aware that some cmdlets just don't work mind. I could not get creating ISOs to work no matter what I did until that is I got the latest version. This is entirely a standalone update for PowerShell CM, not an upgrade.

The latest version is 5.0.8373.1189, which is for the 1604 release

PowerShell cmdlet library for ConfigMgr

Mike
0
 

Accepted Solution

by:
fcbc earned 0 total points
ID: 41838294
There IS a gui option -
   Software Library -> Applications -> Highlight Application -> Bottom window choose deployment types -> right click -> update complete

(Thanks Microsoft tech support)
0
 
LVL 17

Expert Comment

by:Mike T
ID: 41838386
I thought this was a PowerShell question, rather than "where's the update button". My answer was specifically how to get the PowerShell cmdlet to work. I doubt the OP tried it but can't tell.
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

Author Comment

by:fcbc
ID: 41838433
I did update the poweshell commands to the latest version, and the content of the error changed, a little more descriptive, but it still error-ed out. The original question was how to update the contents of the package. I tried Powershell because I could not find the way to update. But the purpose of the question was how to update.
0
 
LVL 17

Expert Comment

by:Mike T
ID: 41839114
Fair enough - I missed that bit amongst all the PowerShell. Wish I had noticed as I could have saved you the MS call.
0
 

Author Closing Comment

by:fcbc
ID: 41845523
Answer provided by MS tech support
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: Leon
Software Metering within our group of companies has always been an afterthought until auditing of software and licensing became a pain point. Orchestrator and SCCM metering gave us the answer and it was an exciting process.
This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now