Microsoft

Microsoft Endpoint Configuration Manager Feedback

Suggestion box powered by UserVoice

Tony Morrow

My feedback

  1. 143 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    10 comments  ·  Ideas » PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
    Tony Morrow supported this idea  · 
    An error occurred while saving the comment
    Tony Morrow commented  · 

    Enhanced Detection Rules and Requirements are two different things. For example, we use a requirement to ensure the ActiveX version of Adobe Flash player is not installed on computers running Windows 8.1+ because the install will fail. Currently I do not see an easy way to define a "requirement" for a deployment type. The "Add-CM***DeploymentType CMDlet has a parameter called "-AddRequirement", but it requires a "Microsoft.SystemManagementServer.DesiredConfigurationManagement.Rules.Rule[]" object and I don't see a cmdlet to create that type of object.

    Raphael Perez from http://www.thedesktopteam.com created a powershell cmdlet in 2015 to define a requirement and add it to a deployment type, but it would be really helpful to define requirement objects and feed them to the deploymenttype cmdlets, similar to the cmdlets for creating detection rules and dependencies.

    Raphael's script:
    https://thedesktopteam.com/raphael/sccm-2012-add-cmdeploymenttypeglobalcondition/
    https://gallery.technet.microsoft.com/Add-a-Requirement-to-an-ce60681f

  2. 1,156 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    39 comments  ·  Ideas » Operating System Deployment  ·  Flag idea as inappropriate…  ·  Admin →
    Noted  ·  sangeev responded

    Updated by bobmn for sangeev/OSD

    Tony Morrow supported this idea  · 

Feedback and Knowledge Base