【发布时间】:2017-10-21 17:42:57
【问题描述】:
我有以下powershell 脚本将$dateMinusThirty 变量作为参数传递给scribe 数据迁移作业:
$dateMinusThirty = Get-Date (Get-Date).AddDays(-30).ToString('s') -Format d;
.\TWorkbench.exe "D:\filePath.dts" /VCreatedBefore="DATEVALUE($dateMinusThirty)" /RS
日期是我需要的,Scribe 打开,但立即崩溃
我这样做对吗?
【问题讨论】:
标签: powershell data-migration scribe-workbench