2014-10-20 44 views

回答

4

F.A.Q. for Dynamics AX博客摘錄:

$axProcess = Start-Process -PassThru ($axClientPath + "`\Ax32.exe") -ArgumentList ($params + " -StartupCmd=Synchronize") 
if ($axProcess.WaitForExit($AXSYNCTIMEOUT) -eq $false) 
{ 
    Throw ("Error: Synchronize did not complete within " + $AXSYNCTIMEOUT/60000 + " minutes") 
} 
+0

感謝您迴應,我讀過,但我希望有一個更簡單的方法。有沒有其他方法? :-) – michiboi 2014-10-20 18:52:18

+0

不是我所知道的。 – 10p 2014-10-20 19:42:01

+0

有誰知道在哪裏可以找到使用這個腳本的同步日誌? – Dieter 2015-08-20 07:35:07

相關問題