< Back

Test-ZipFileContent

Fri Jan 10, 2020 5:31 pm

NAME Test-ZipFileContent



SYNOPSIS

Perform 7Zip arhive integrity check





SYNTAX

Test-ZipFileContent [-ArchiveName] <String> [[-FileName] <String>] [[-Key] <String>] [<CommonParameters>]





DESCRIPTION

Perform 7Zip arhive integrity check





PARAMETERS

-ArchiveName <String>



Required? true

Position? 1

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-FileName <String>



Required? false

Position? 2

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-Key <String>



Required? false

Position? 3

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? 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



OUTPUTS



-------------------------- EXAMPLE 1 --------------------------



/>Test-ZipFileContent -Archive 'folder.7z'



/>Test-ZipFileContent -Archive 'folder.7z' -File 'file.txt'

/> ([PSCustomObject]@{File='file.txt', Archive='File.7z', Password="pass"} | Test-ZipFileContent -Archive

'File.7z'











RELATED LINKS