< Back

Expand-7Zip

Fri Jan 10, 2020 5:32 pm

NAME Expand-7Zip



SYNTAX

Expand-7Zip [-ArchiveFileName] <string> [-TargetPath] <string> [-CustomInitialization <scriptblock>]

[<CommonParameters>]



Expand-7Zip [-ArchiveFileName] <string> [-TargetPath] <string> [-Password <string>] [-CustomInitialization

<scriptblock>] [<CommonParameters>]



Expand-7Zip [-ArchiveFileName] <string> [-TargetPath] <string> [-SecurePassword <securestring>]

[-CustomInitialization <scriptblock>] [<CommonParameters>]





PARAMETERS

-ArchiveFileName <string>

The full file name of the archive



Required? true

Position? 0

Accept pipeline input? false

Parameter set name (All)

Aliases None

Dynamic? false



-CustomInitialization <scriptblock>

Allows setting additional parameters on SevenZipExtractor



Required? false

Position? Named

Accept pipeline input? false

Parameter set name (All)

Aliases None

Dynamic? false



-Password <string>



Required? false

Position? Named

Accept pipeline input? false

Parameter set name PlainPassword

Aliases None

Dynamic? false



-SecurePassword <securestring>



Required? false

Position? Named

Accept pipeline input? false

Parameter set name SecurePassword

Aliases None

Dynamic? false



-TargetPath <string>

The target folder



Required? true

Position? 1

Accept pipeline input? false

Parameter set name (All)

Aliases None

Dynamic? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).





INPUTS

None





OUTPUTS

System.Object



ALIASES

None





REMARKS

None