 | selan says:If you do any work on Windows servers, you probably have used Powershell. Here is a simple Powershell function that will allow you to easily add tasks to RTM from the command line.
Add this function to your Powershell profile, substituting the appropriate values for your email.
function rtm($smartadd) { Send-MailMessage -from %your-from-email% -to %your-rtm-email%@rmilk.com -subject "$smartadd" -smtpserver %your-email-server% }
You can then call the rtm function from the Powershell command line. It takes one parameter, which is the Smart Add description of your task, in double quotes.
For example, > rtm "Post my RTM tips and tricks !1 ^tomorrow"
Posted at 7:47pm on November 12, 2012 |