PortValhalla/scripts/Windows/Software/reWASD/Manage.ps1

7 lines
273 B
PowerShell

. "$PSScriptRoot/../../Scripts/Context.ps1";
$path = "$env:PUBLIC/Documents/reWASD";
$softwareName = "reWASD";
function Invoke-BackupReWASD([Context] $context) {
$context.Backup($path, $context.SoftwareArchive($softwareName), @("-x@`"$PSScriptRoot/exclude.txt`""));
}