Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login
    1. Home
    2. sbagwan_5956
    3. Topics

    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!

    S Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 5
    • Groups 0

    Topics

    • S

      Unzip not working

      Watching Ignoring Scheduled Pinned Locked Moved Support
      6
      0 Votes
      6 Posts
      49 Views
      atrippA
      Hello; What are you trying to do? This definitely won't work for several reasons. Ensure-File is an "Ensure" operation and will detect configuration drift and can optionally create the file if it doesn't exist; but in this case, it would be a 0-byte file named test.zip, which isn't a valid zip Extract-ZipFile is a "Execute-only" operation, which means it will run only within a block (e.g. { ... } ) if drift was detected (i.e. the file didn't exist in the operation before); but if that was the case, it would fail because it's not a valid zip file You probably want to use an Orchestration plan for this. Please read through this eBook to get feeling for how configuration and Orchestration Plans: https://inedo.com/support/resources/ebooks/windows-first-iac-cca
    • S

      Agentless PowerShell OtterServer

      Watching Ignoring Scheduled Pinned Locked Moved Support
      3
      0 Votes
      3 Posts
      29 Views
      S
      Yes, it solved the issue. thank you.
    • 1 / 1