Dev #212
1 changed files with 1 additions and 4 deletions
|
|
@ -1,6 +1,4 @@
|
||||||
|
if ($PSScriptRoot.length -eq 0) {
|
||||||
|
|
||||||
if ($PSScriptRoot.length -eq 0) {
|
|
||||||
$scriptroot = Get-Location
|
$scriptroot = Get-Location
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
@ -8,7 +6,6 @@ else {
|
||||||
}
|
}
|
||||||
|
|
||||||
$logprefix = get-date -Format ddMMyyy_HHmmss
|
$logprefix = get-date -Format ddMMyyy_HHmmss
|
||||||
#up
|
|
||||||
Start-Transcript -Path "$scriptroot/../logs/report_new_matches_$logprefix.log" -Append
|
Start-Transcript -Path "$scriptroot/../logs/report_new_matches_$logprefix.log" -Append
|
||||||
|
|
||||||
. $scriptroot\..\includes\ps1\lockfile.ps1
|
. $scriptroot\..\includes\ps1\lockfile.ps1
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue