github.com/hashicorp/packer@v1.14.3/provisioner/powershell/test-fixtures/powershell-provisioner-cleanup.txt (about)

     1  {
     2    "type": "powershell",
     3    "remote_path": "c:/Windows/Temp/packer-acc-test-script-test.ps1",
     4    "remote_env_var_path": "C:/Windows/Temp/packer-acc-test-vars.ps1",
     5    "inline": [
     6      "Write-Host \"Total files found in Temp directory\" ( dir C:/Windows/Temp/packer-*.ps1 | measure).Count;"
     7    ]
     8  },
     9  {
    10    "type": "windows-shell",
    11    "inline": ["dir C:\\Windows\\Temp\\packer-*.ps1"],
    12    "valid_exit_codes": ["1"]
    13  }