none
How to add a Requirement, Dependency, Supersedence for a Deployment Type using the SCCM cmdlets?

    Question

  • Is there any SCCM cmdlets to add Deployment Type properties like Requirement, Dependencies, Supersedence etc.,

    For the rest of the properties we have the cmdlet “Set-CMDeploymentType”, but how do we add a Requirement or a Dependency using the SCCM cmdlets?

    Tuesday, March 19, 2013 5:10 AM

All replies

  • Easy Answer: You don't - The cmdlets are still pretty beta if you ask me. There is a lot of room for improvement.

    However, you are able to mess with that stuff using PowerShell. http://msdn.microsoft.com/en-us/library/hh947640.aspx (Microsoft.ConfigurationManagement.ApplicationManagement Namespace) should be a good starting point. Specifically the "DeploymentType" Class.

    It's a bit different than using cmdlets but once you grasp the concept it's pretty easy.

    Hope that helps.

    Thursday, March 21, 2013 4:06 PM
  • I've done a series of blog posts on how to use the Application Management SDK covering some of these concepts. See http://blogs.msdn.com/b/ameltzer/archive/tags/application+model/ for more information.

    And as always, if there's something that's not supported by the PowerShell cmdlets that you want to see added, please file a feedback item on Connect at https://connect.microsoft.com/ConfigurationManagervnext/Feedback.

    Thursday, March 21, 2013 6:43 PM
  • Hello

    I have the same problem like you

    i created App and DT using Cmdlet PS3 but how create the requirements ..

    i have a script that create rules but i have a problem to save the information attached to the dt

    coul'd you help me ?.

    Many thanks

    François (FR)

    Monday, September 16, 2013 2:08 PM