I am working on a monitoring report using PowerShell. The script pulls out server details, disk status and application status.
I am able to send the server details and disk status over mail in an HTML table. But reading the content of the file (created via batch file extracting the data from Oracle DB) and sending it over same mail in HTML format does not work.
Below is the data in the text file:
**program-id sta pid start time stop time**
Clnt_dp T 0 04/03/2017 08:00:03 04/03/2017 08:00:04
Clnt_ds R 5140 04/03/2017 08:00:03
Clnt_rpc R 8572 04/03/2017 08:00:03
bksrvr R 4692 04/03/2017 07:59:03
chkw T 0 04/03/2017 07:59:03 04/03/2017 08:09:04
db T 0 04/03/2017 07:59:01 04/03/2017 07:59:02
dsaux R 8444 04/03/2017 07:59:03
dssched R 4792 04/03/2017 07:59:03
dsshares R 7672 04/03/2017 07:59:03
ixmonSvc R 5552 04/03/2017 07:59:03
jbd R 7536 04/03/2017 07:59:02
migration R 476 04/03/2017 07:59:03
notifSrvr R 1220 04/03/2017 07:59:03
timestamp R 8928 04/03/2017 07:59:02
Can anyone please let me know how this could be achieved? Thanks.