20200602
This commit is contained in:
@@ -6,9 +6,9 @@ Memo : 在很大的Log檔中取出所需的資訊
|
||||
|
||||
<# 設定日期區間 #>
|
||||
# 開始時間
|
||||
$startDate = Get-Date "2020-04-01"
|
||||
$startDate = Get-Date "2020-05-13"
|
||||
# 結束時間
|
||||
$endDate = Get-Date "2020-04-21"
|
||||
$endDate = Get-Date "2020-05-15"
|
||||
# 間隔
|
||||
$daysToSkip = 1
|
||||
|
||||
@@ -48,7 +48,7 @@ while ($startDate -le $endDate) {
|
||||
foreach($folder in $folders)
|
||||
{
|
||||
# 建新檔名
|
||||
$file = "D:\APLog\$($folder)\LogsTemp\$($dateString)\VenderAPI.log"
|
||||
$file = "\\paylog01p\Logs\$($folder)\LogsTemp\$($dateString)\VenderAPI.log"
|
||||
|
||||
# 要找的字串
|
||||
# 在這是 JCICP40Query
|
||||
|
||||
Reference in New Issue
Block a user