Error target-resource

Welcome Forums General PowerShell Q&A Error target-resource

This topic contains 2 replies, has 2 voices, and was last updated by

10 months ago.

  • Author
  • #99247

    Points: 3
    Rank: Member

    HAs anyone ever seen a DSC error for package that say the Name and Identifyingnumber don't match. When they actually do? Take a look at the error bellow and you'll notice that they match what they say it should be.

    "PowerShell DSC resource MSFT_PackageResource failed to execute Set-TargetResource functionality with error message:
    The specified Name (RiskAgility FM Compute) and IdentifyingNumber ({D85F51A2-7730-4986-BA84-8DCADC0AA4D1}) do not
    match Name (RiskAgility FM Compute Node) and IdentifyingNumber ({D85F51A2-7730-4986-BA84-8DCADC0AA4D1}) in the MSI
    + CategoryInfo : InvalidOperation: (:) [], CimException"

  • #99252

    Points: 91
    Team Member
    Rank: Member

    I'm assuming that RiskAgility FM Compute is the name that you're specifying in the name field for xPackage, and that RiskAgility FM Compute Node is actually what is being registered? You might try updating the name field to RiskAgility FM Compute Node and see if it goes through.

    • #99340

      Points: 3
      Rank: Member

      That worked! I guess I needed another set of eyes! Thanks!

The topic ‘Error target-resource’ is closed to new replies.

denizli escort samsun escort muğla escort ataşehir escort kuşadası escort