排程一組報告Schedule a Set of Reports

適用於:Windows Server (半年度管道)、Windows Server 2016、Windows Server 2012 R2、Windows Server 2012、Windows Server 2008 R2Applies to: Windows Server (Semi-Annual Channel), Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 R2

若要按照定期排程產生一組報告,請排程報告工作To generate a set of reports on a regular schedule, you schedule a report task. 報告工作會指定要產生的報告與使用的參數、報告要針對的磁碟區與資料夾、產生報告的頻率以及儲存檔案的格式。The report task specifies which reports to generate and what parameters to use; which volumes and folders to report on; how often to generate the reports and which file formats to save them in.

排定的報告會儲存在可於 [檔案伺服器資源管理員選項] 對話方塊中指定的預設位置。Scheduled reports are saved in a default location, which you can specify in the File Server Resource Manager Options dialog box. 您也可以選擇透過電子郵件傳送報告給系統管理員群組。You also have the option of delivering the reports by e-mail to a group of administrators.

注意

為了盡量降低報告處理對效能的影響,請依照相同的排程產生多份報告,這樣就只需收集資料一次。To minimize the impact of report processing on performance, generate multiple reports on the same schedule so that the data is only gathered once. 若要快速加入報告至現有的報告工作,您可以使用 [為報告工作新增或移除報告] 動作。To quickly add reports to existing report tasks, you can use the Add or Remove Reports for a Report Task action. 這可讓您新增或移除多個報告工作中的報告,以及編輯報告參數。This allows you to add or remove reports from multiple report tasks and to edit the report parameters. 若要變更排程或傳遞位址,您必須編輯個別報告工作。To change schedules or delivery addresses, you must edit individual report tasks.

若要排程報告工作To schedule a Report Task

  1. 按一下 [存放裝置報告管理] 節點。Click the Storage Reports Management node.

  2. [存放裝置報告管理] 上按滑鼠右鍵,再按一下 [排程新的報告工作] (或選取 [動作] 窗格中的 [排程新的報告工作])。Right-click Storage Reports Management, and then click Schedule a New Report Task (or select Schedule a New Report Task from the Actions pane). 如此會開啟 [存放裝置報告工作內容] 對話方塊。This opens the Storage Reports Task Properties dialog box.

  3. 若要選取產生報告的磁碟區或資料夾:To select volumes or folders on which to generate reports:

    • [領域] 下方,按一下 [新增]Under Scope, click Add.
    • 瀏覽至您要產生報告所在的磁碟區或資料夾,選取它,然後按一下 [確定] 以將路徑新增至清單。Browse to the volume or folder on which you want to generate the reports, select it, and then click OK to add the path to the list.
    • 將您所需數量的磁碟區或資料夾包含在報告中Add as many volumes or folders as you want to include in the reports. (若要移除磁碟區或資料夾,請按一下路徑,再按一下 [移除])。(To remove a volume or folder, click the path and then click Remove).
  4. 若要指定產生哪些報告:To specify which reports to generate:

    • [報告資料] 下方,選取每個您要包含的每份報告。Under Report data, select each report that you want to include. 預設會為排定的報告工作產生所有報告。By default, all reports are generated for a scheduled report task.

    若要編輯報告的參數:To edit the parameters of a report:

    • 按一下報告標籤,然後按一下 [編輯參數]Click the report label, and then click Edit Parameters.
    • [報告參數] 對話方塊中,視需要編輯參數,然後按一下 [確定]In the Report Parameters dialog box, edit the parameters as needed, and then click OK.

    • 若要查看所有已選取報告的參數清單,請按一下 [檢視選取的報告]To see a list of parameters for all the selected reports, click Review Selected Reports. 然後按一下 [關閉]Then click Close.

  5. 若要指定儲存報告的格式:To specify the formats for saving the reports:

    • [報告格式] 下方,為排程的報告選取一個或多個格式。Under Report formats, select one or more formats for the scheduled reports. 預設會使用動態 HTML (DHTML) 來產生報告。By default, reports are generated in Dynamic HTML (DHTML). 您也可以選取 HTML、XML、CSV 及文字格式。You can also select HTML, XML, CSV, and text formats. 報告會儲存到已排程報告的預設位置。The reports are saved to the default location for scheduled reports.
  6. 若要透過電子郵件提供報告複本給系統管理員:To deliver copies of the reports to administrators by e-mail:

    • [傳遞] 索引標籤上,選取 [將報告傳送給下列系統管理員] 核取方塊,然後輸入要收到報告的系統管理帳戶名稱。On the Delivery tab, select the Send reports to the following administrators check box, and then enter the names of the administrative accounts that will receive reports.
    • 使用 account@domain 格式,並使用分號隔開多個帳戶。Use the format account@domain, and use semicolons to separate multiple accounts.
  7. 若要排程報表:To schedule the reports:

    [排程] 索引標籤上,按一下 [建立排程],然後按一下 [排程] 對話方塊中的 [新增]On the Schedule tab, click Create Schedule, and then in the Schedule dialog box, click New. 如此會顯示每天上午 9:00 設定的預設排程,This displays a default schedule set for 9:00 A.M. 但您還是可以修改預設排程。daily, but you can modify the default schedule.

    • 若要指定產生報告的頻率,請從 [排程工作] 下拉式清單選取時間間隔。To specify a frequency for generating the reports, select an interval from the Schedule Task drop-down list. 您可以排程每日、每週或每月報告,或只產生報告一次。You can schedule daily, weekly, or monthly reports, or generate the reports only once. 您也可以在系統啟動或登入時,或在電腦已閒置一段指定的時間後產生報告。You can also generate reports at system startup or logon, or when the computer has been idle for a specified time.
    • 若要提供所選時間間隔的其他排程資訊,請修改或設定 [排程工作] 選項中的值。To provide additional scheduling information for the chosen interval, modify or set the values in the Schedule Task options. 這些選項會根據您選擇的時間間隔變更。These options change based on the interval that you choose. 例如,您可以針對每週報告指定報告之間相隔的週數,以及要在星期幾產生報告。For example, for a weekly report, you can specify the number of weeks between reports and on which days of the week to generate reports.
    • 若要指定一天當中要產生報告的時間,請在 [開始時間] 方塊中輸入或選取值。To specify the time of day when you want to generate the report, type or select the value in the Start time box.
    • 若要存取其他排程選項 (包括工作的開始日期及結束日期),請按一下 [進階]To access additional scheduling options (including a start date and end date for the task), click Advanced.
    • 若要儲存排程,按一下 [確定]To save the schedule, click OK.
    • 若要建立工作的其他排程 (或修改現有排程),請按一下 [排程] 索引標籤上的 [編輯排程]To create an additional schedule for a task (or modify an existing schedule), on the Schedule tab, click Edit Schedule.
  8. 若要儲存報告工作,按一下 [確定]To save the report task, click OK.

報告工作會新增至 [存放裝置報告管理] 節點。The report task is added to the Storage Reports Management node. 工作可依據要產生的報告、要報告的命名空間以及報告排程來加以識別。Tasks are identified by the reports to be generated, the namespace to be reported on, and the report schedule.

此外,您還可以檢視報告的目前狀態 (報告是否正在執行)、上次執行時間和執行結果,以及下一次排程的執行時間。In addition, you can view the current status of the report (whether or not the report is running), the last run time and the result of that run, and the next scheduled run time.

請參閱See also