BE2012中有一条命令如下:

Get-BEJobHistory -Storage [] [[-Name] []] [-JobStatus {Unknown | Canceled | Completed | SucceededWithExceptions | OnHold | Error | Missed | Recovered | Resumed | Succeeded | ThresholdAbort | Dispatched | DispatchFailed | InvalidSchedule | InvalidTimeWindow | NotInTimeWindow | Queued | Disabled | Active | Ready | Scheduled | Superseded | ToBeScheduled | Linked | RuleBlocked}] [-JobType {Unknown | Backup | Restore | Verify | Catalog | Utility | Report | Duplicate | TestRun | ResourceDiscovery | opyJob | Archive | RestoreFromArchive | DeleteFromArchive | Install | ConvertToVirtual}] [-FromLastJobRun []] [-FromStartTime []] [-ToStartTime []] []


修改后如下:


Get-BEJobHistory -Storage '磁带驱动器 0001'  -FromStartTime #2013/8/15 22:00:01# -ToStartTime #2013/8/16 22:00:01# | Export-CSV -Encoding Unicode d:\be-report\backupjob-istory.csv发现和
Get-BEJobHistory -Storage '磁带驱动器 0001'  | Export-CSV -Encoding Unicode d:\be-report\backupjob-history.csv 没有区别