< Back
New-CAB
Post
NAME New-CAB
SYNOPSIS
Creates a CAB file from a Directory
SYNTAX
New-CAB [-SourceDirectory] <String> [<CommonParameters>]
DESCRIPTION
Creates a CAB file from a Directory
PARAMETERS
-SourceDirectory <String>
Directory to create the CAB from
Required? true
Position? 1
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
NOTES
NAME: New-CAB.ps1
AUTHOR: David Segura, david@segura.org
BLOG: http://www.osdeploy.com
VERSION: 18.9.4
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>New-CAB -SourceDirectory C:\\DeploymentShare\\OSDeploy\\OSConfig
Creates LZX High Compression CAB from of C:\\DeploymentShare\\OSDeploy\\OSConfig
Saves file in Parent Directory C:\\DeploymentShare\\OSDeploy\\OSConfig.cab
RELATED LINKS
https://www.osdeploy.com/
SYNOPSIS
Creates a CAB file from a Directory
SYNTAX
New-CAB [-SourceDirectory] <String> [<CommonParameters>]
DESCRIPTION
Creates a CAB file from a Directory
PARAMETERS
-SourceDirectory <String>
Directory to create the CAB from
Required? true
Position? 1
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
NOTES
NAME: New-CAB.ps1
AUTHOR: David Segura, david@segura.org
BLOG: http://www.osdeploy.com
VERSION: 18.9.4
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>New-CAB -SourceDirectory C:\\DeploymentShare\\OSDeploy\\OSConfig
Creates LZX High Compression CAB from of C:\\DeploymentShare\\OSDeploy\\OSConfig
Saves file in Parent Directory C:\\DeploymentShare\\OSDeploy\\OSConfig.cab
RELATED LINKS
https://www.osdeploy.com/