< Back
Add-ZipFileContent
Post
NAME Add-ZipFileContent
SYNOPSIS
Add file to archive
SYNTAX
Add-ZipFileContent [-ArchiveName] <String> [-FileName] <String> [-Key <String>] [<CommonParameters>]
DESCRIPTION
Add file to archive
PARAMETERS
-ArchiveName <String>
Existing Archive file add extra files
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-FileName <String>
File to add
Required? true
Position? 2
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-Key <String>
Required? false
Position? named
Default value
Accept pipeline input? false
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 --------------------------
PS C:\\>Add-ZipFileContent '.\\registered.js' -Archive .\\scripts.7z
Add-ZipFileContent '.\\registered.js' -Archive .\\scripts.7z -Password qwe123
ls *.js | Add-ZipFileContent -Archive .\\scripts.7z -Password qwe123
RELATED LINKS
SYNOPSIS
Add file to archive
SYNTAX
Add-ZipFileContent [-ArchiveName] <String> [-FileName] <String> [-Key <String>] [<CommonParameters>]
DESCRIPTION
Add file to archive
PARAMETERS
-ArchiveName <String>
Existing Archive file add extra files
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-FileName <String>
File to add
Required? true
Position? 2
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-Key <String>
Required? false
Position? named
Default value
Accept pipeline input? false
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 --------------------------
PS C:\\>Add-ZipFileContent '.\\registered.js' -Archive .\\scripts.7z
Add-ZipFileContent '.\\registered.js' -Archive .\\scripts.7z -Password qwe123
ls *.js | Add-ZipFileContent -Archive .\\scripts.7z -Password qwe123
RELATED LINKS