September 2010
Intermediate to advanced
1704 pages
111h 8m
English
Often you might be required to send out emails containing particular reports and/or output from commands run.
To do so, you use features from the .NET Framework via PowerShell to send out emails, as shown in here:

You can enter the preceding code into a script or directly to the console. If you type the code in the console, you must press the Enter key twice (once to close the function and another time on an empty line) before the PowerShell prompt returns.
In the preceding code listing, functionality from the .NET Framework is used to get SMTP functionality. A function is used so that this code could be easily copied as required ...
Read now
Unlock full access