Navigation

    Inedo Community Forums

    Forums

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. sbagwan_5956
    3. Topics
    S
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Topics created by sbagwan_5956

    • S

      Unzip not working
      Support • • sbagwan_5956  

      6
      0
      Votes
      6
      Posts
      49
      Views

      atripp

      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
      Support • • sbagwan_5956  

      3
      0
      Votes
      3
      Posts
      29
      Views

      S

      Yes, it solved the issue. thank you.
    • 1 / 1