Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to zip sql bakup files and move from one directory to to another directory within a system using powershell 1.0 can you help me since am a beginner

share|improve this question

Over at CodePlex you can get their PowerShell extensions to use their write-zip extension.

$source = "directory you're zipping from"
$destination = "directory you want to zip to"
Write-zip -LiteralPath $source -OutputPath $destination

If you want to remove the .bkp files after you've zip them, you can use Remove-Item. Try using Get-Help in PowerShel if you run into issues.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.