Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

    If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

    Can't get PSDsc (Desired State Configuration) to working in plans in Otter

    Scheduled Pinned Locked Moved Support
    otter
    2 Posts 1 Posters 6 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ? This user is from outside of this forum
      Guest
      last edited by

      Hi,
      I'm currently evaluating Otter for handling our Configuration Management. We are using Desired State Configuration but I cannot seem to get it to work. I have a set up a simple demo system with 3 roles, 1 server (localhost). Here's the minimum I have to do to reproduce the error. I created a plan for one of the roles with:

      ##AH:UseTextMode
      PSDsc File
      (
          Otter_ConfigurationKey: DestinationPath,
          DestinationPath: C:\Windows\,
          Contents: test file ensured
      );
      

      This quickly produces an error message:
      ERROR: The term 'Invoke-DscResource' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

      Am I missing some pre-requisite on my system or am I missing something obvious?

      Regards,Hans

      1 Reply Last reply Reply Quote 0
      • ? This user is from outside of this forum
        Guest
        last edited by

        Hi Hans... this requires WMF5.0 : https://www.microsoft.com/en-us/download/details.aspx?id=50395

        1 Reply Last reply Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • 1 / 1
        • First post
          Last post
        Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation