Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

General rule of outputing to email powershell commands

$
0
0

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


Viewing all articles
Browse latest Browse all 6937

Trending Articles