Created
April 24, 2018 00:16
-
-
Save jmurphyau/b6f0b97291b3ac78f6dcb2e36cf93da9 to your computer and use it in GitHub Desktop.
one liner to copy WDE logs from default WDE log directory to the desktop
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
powershell.exe -command "& { $dt=(get-date -UFormat \"%Y-%m-%d-%H%m%S\"); $s=\"$Env:APPDATA\Genesys Telecommunication\InteractionWorkspace\log\*\"; $d=(\"{0}\Desktop\wde-logs-{1}\" -f ($Env:USERPROFILE,$dt)); if ((test-path $d) -eq $false) { md $d > $null; } cp $s $d; write-host \"\"; write-host (\"WDE logs have been copied to {0}\" -f $d) }" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment