How can I exclude certain file types when using Powershell and the PSCX Write-Zip cmdlet?
Right now I'm using this:
Write-Zip -Path "C:\Program Files (x86)\Folder" -OutputPath
"C:\newDeploy\backup\Folder.zip" -IncludeEmptyDirectories -NoClobber -Level 1
I need it to include the directory structure in the ZIP and I also need to exclude certain file types (eg: .txt).
Thank you for your help :)
-Jim