Sets a pattern that will be excluded when creating a zip file.
A pattern such as *.jpg will exclude all jpg files from being zipped.
Zip – the ZipItem that will be used.
Exclusions – the list of exclusions to be added. More than one exclusion can be added by setting a comma, backslash or forward slash delimiter between exclusions.
The following examples would bypass all jpg, exe and html files when zipping up directories.
Comma delimited: *.jpg, *.exe, *.html
Backslash delimited: *.jpg/ *.exe /*.html
Forward slash delimited: *.jpg\*.exe\*.html