Solved

SCCM updating Application deployment

Posted on 2016-10-04
6
54 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
Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

 

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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Is it possible to run and exe file on a new workstation each time you join one to the domain 2 50
Purpose of boundaries in AD? 3 74
SCCM Reporting 5 60
sccm report 1 46
Binary Differential Replication, What it is, how it works and how it differs from standard delta file replication
An article on effective troubleshooting
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.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

816 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

12 Experts available now in Live!

Get 1:1 Help Now