< Back

New-OSDriverCAB

Sat Jan 18, 2020 6:14 pm

NAME New-OSDriverCAB



SYNOPSIS

Creates a CAB file from a Directory or Child Directories





SYNTAX

New-OSDriverCAB [-Path] <String> [-HighCompression] [-MakeCABsFromSubDirs] [<CommonParameters>]





DESCRIPTION

Creates a CAB file from a Directory or Child Directories





PARAMETERS

-Path <String>

Directory to create the CAB from



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-HighCompression [<SwitchParameter>]

Forces LZX High Compression (Slower). Unchecked is MSZIP Fast Compression



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-MakeCABsFromSubDirs [<SwitchParameter>]

Creates CAB files from Path Subdirectories



Required? false

Position? named

Default value False

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-OSDriverCAB.ps1

AUTHOR: David Segura, david@segura.org

BLOG: http://www.osdeploy.com

CREATED: 02/18/2018

VERSION: 1.1.0.2



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



PS C:\\>New-OSDriverCAB -Path C:\\Temp\\Dell\\LatitudeE10_A01



Creates MSZIP Fast Compression CAB from of C:\\Temp\\Dell\\LatitudeE10_A01









-------------------------- EXAMPLE 2 --------------------------



PS C:\\>New-OSDriverCAB -Path C:\\Temp\\Dell -HighCompression -MakeCABsFromSubDirs



Creates LZX High Compression CABS from all subdirectories of C:\\Temp\\Dell











RELATED LINKS

https://www.osdeploy.com/psmodule/osdrivers/