Skip to content

Instantly share code, notes, and snippets.

@JohnL4
Last active July 27, 2017 19:38
Show Gist options
  • Save JohnL4/9a680882f4a3d6a3073816f752033879 to your computer and use it in GitHub Desktop.
Save JohnL4/9a680882f4a3d6a3073816f752033879 to your computer and use it in GitHub Desktop.
Copy files you just built to the application directory for testing.
$build = "7.3.5941.0";
$dest = "c:\Program Files (x86)\Allscripts Sunrise\Clinical Manager Client\$build";
$src = "c:\work\sxa\main\Projects/bin";
ls $src | ? {$_.LastWriteTime -ge (Get-Date).AddMinutes( -5)} | cp -dest $dest -for -pass
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment