I run one line powershell commands which work well but i would like to email them on a schedule task
What i would like to know is there a general rule on how to transfer data like the examples below into an email.
get-mailbox -results unlimited | ft name, database
get-mailboxdatabasecopystatus server xyz | fl name
get-mailbox | get-mailboxstatistics | fl display name, lastlogon