A history of data warehouse jobs is collected as they run. You can view this history to determine how long a job ran or to determine the last time the job ran successfully. When you display the data warehouse job history, you display the number of entries that you specify by using the NumberOfBatches parameter. Use the following procedure to view the last five entries in the history of a data warehouse job.

To view the last five entries in the data warehouse job history

  1. On the computer that hosts the data warehouse management server, click Start, point to Programs, point to Windows PowerShell 1.0, right-click Windows PowerShell, and then click Run as administrator.

  2. At the Windows PowerShell prompt, type the following command, and then press ENTER.

      Copy Code
    Add-PSSnapIn SMCmdletSnapIn
    
  3. Type the following command, and then press ENTER.

      Copy Code
    Get-SCDWJob -NumberOfBatches 5
    
  4. Type exit, and then press ENTER.