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?
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.
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.
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 ?.