ExcludedFiles Parameter (Expand-SevenZip Cmdlet)
A list of files to exclude.
Expand-SevenZip -ExcludedFiles string
This parameter may be set to one or more filenames or directory names. Files may be specified with or without a path, and with or without wildcards. If a path is specified, files in the indicated directory will be excluded If no path is specified but wildcards are, matching files in all directories will be excluded.
Directories should end with a slash ("/" or "\", as appropriate.) If a directory is specified, all files and subdirectories in the specified directory will be excluded.