Patch/Cmdlets/Misc/Move-ToBackup.ps1
function Move-ToBackup { param ([string]$patch) $folder = Split-Path $patch -Parent if (Test-Path $folder\Backup) { Move-Item -Path $patch -Destination $folder\Backup -Force } } |
function Move-ToBackup { param ([string]$patch) $folder = Split-Path $patch -Parent if (Test-Path $folder\Backup) { Move-Item -Path $patch -Destination $folder\Backup -Force } } |