IncludedFiles Parameter (Expand-Jar Cmdlet)

Specifies that only files matching the provided values should be extracted.

Syntax

Expand-Jar -IncludedFiles string[]

Remarks

If IncludedFiles is specified, only files with names matching the specified values will be extracted. You can also specify which files to extract using masks ("/dir/*.txt"). If IncludedFiles is not provided, then all files in the archive will be extracted.

Both IncludedFiles and ExcludedFiles can be specified at the same time, in which case only files matching IncludedFiles and not matching ExcludedFiles will be extracted.

The IncludedFiles parameter is not supported when extracting files from a GZIP archive.

Default Value

null

Copyright (c) 2022 /n software inc. - All rights reserved.
NetCmdlets 2020 - Version 20.0 [Build 8319]