User Rating: 0 / 5

Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive
 

#Should be executed on the SCSM Data Warehouse Server

if ( -not (get-module  -name  Microsoft.EnterpriseManagement.Warehouse.Cmdlets)) {import-module  'C:\Program Files\Microsoft System Center 2012 R2\Service Manager\Microsoft.EnterpriseManagement.Warehouse.Cmdlets.psd1'}

Get-SCDWJob | Select  Description, LastRunTime,NextRunTime | SortDescription  | ConvertTo-HTML  | Out-File   e:\DWJobSch\dwjsch.htm

 

Sample html received by e-mail

 

 Notes :

SMTPServer configuration required

sendingaddress and receivingaddress should be within "" (double quotes)

  • Tests should be done on non-productive environment
    • Not responsible for loss of any data with the usage of this script/function