Hi I am starting to create a script to add CM (CB1602) applications into ConfigMgr, it seems to work fine, but I need to have a requirement on the deploymenttype. In the GUI it will be Operating system –> one of –> Windows 10 x64
I have found the parameter -AddRequirement, but i cannot figure out how to add values. show-command says it is a Type:Microsoft.SystemsManagementServer.DesiredConfigurationManagement.Rules.Rule. I cannot find any useful documentation on this switch.
I have not and I would have thought it would be similar to how you have to create a schedule with new-cmschedule and apply it your collection or deployments. But it does not appear to be that way. See these examples