Internet Explorer is no longer supported. Many things will still work, but your experience will be degraded and some things won't function. Please use a modern browser such as Edge, Chrome, or Firefox.

Create Artifact

Collects files in the specified directory, compresses them in a zip file, and saves it to the artifact library.

Script usage:

Create-Artifact(
	[Name: <text>],
	[From: <text>],
	[Include: <@(text)>],
	[Exclude: <@(text)>],
	[Verbose: <true/false>],
	[IgnoreEmptyArtifact: <true/false>],
	[Overwrite: <true/false>],
	[IncludeSystemFiles: <true/false>],
	[IncludeHiddenFiles: <true/false>]
);

This operation may be prefixed with Core::, although this is a built-in namespace and isn't really necessary.

Arguments:

NameFormatScript UsageUsage Notes
Artifact name (default)
text
Name
Default value is "Default".
From directory
text
From
Value note: "$WorkingDirectory".
Include files
@(text)
Include
See KB#1119 to learn more about masking syntax. Default value is "**".
Exclude files
@(text)
Exclude
See KB#1119 to learn more about masking syntax.
Verbose logging
true/false
Verbose
Logs every file added to the artifact, which may be helpful for logging purposes.
Ignore empty artifact warning
true/false
IgnoreEmptyArtifact
A warning will be logged if no files are captured unless this option is set.
Overwrite
true/false
Overwrite
Value note: "false".
Include system files
true/false
IncludeSystemFiles
Value note: "false".
Include hidden files
true/false
IncludeHiddenFiles
Value note: "false".