Questions about the file provisioner with Windows

Thank you ahead of time for any help given:

  1. Is it possible to use a wildcard in a file provisioner for the source? Something like this for example:

    {
    “type”: “file”,
    “source”: “{{user WorkingDirectory}}\*.test.ps1”,
    “destination”: “C:\temp\test.ps1”
    },

  2. Does the directory upload with the file provisioner in windows work? The documentation doesn’t state otherwise. However, I can’t get it to function.

    {
    “type”: “file”,
    “source”: “{{user WorkingDirectory}}\”,
    “destination”: “C:\temp”
    },