Email Reminders for PowerShell Tasks

I’ve published a new version of the myTasks module to the PowerShell Gallery and its GitHub repository. The big change is that the current version has a feature to send you a daily email with tasks that are due in the next three days. I’ve added a command called Enable-EmailReminder that will create a scheduled PowerShell job to send you an email using the Send-MailMessage cmdlet. The default is to send an email daily at 8:00AM but you can change the time. The default is to also send a plain text message but you have an option to send an HTML email which will include some color coding.

image

There are also commands to remove the scheduled job, as well as get the job information. There’s no provision for modifying an existing email reminder job. I figured if you make a mistake it is just as easy to disable (remove) the old run and re-create it. This is also documented in the help about topic.

image

According to the PowerShell Gallery at least a few of you have downloaded the module. I use it every day to keep track of what I should be working on. If you have any comments, issues or suggestions, I welcome them in the Issues section of the project’s Github repo.

New PowerShell Projects Published

Last week I published a few of the recent PowerShell modules I’ve been working on to the PowerShell Gallery. These projects had been in a beta phase while I worked out some last minute features. I was also waiting to see if there were any issues reported by you that I might need to address. Nothing came up so I think we’re good to go. Here’s the new projects you can install from the PowerShell Gallery.

Continue reading

PowerShell Reminders now in Beta

For awhile now I’ve been working on a PowerShell project that I use every day. I am always in a PowerShell prompt and because I always seem to have little things like phone calls or family events that I need to keep track of, I wrote a “tickler” system. The events are stored in a SQL database any my PowerShell commands query for upcoming events. My module has commands for setting up the database, querying commands and modifying data. All the SQL stuff is done without using the SQL PowerShell module because I didn’t want to take a dependency on it and I want to write something that will work cross-platform.  I wasn’t sure if the SQL cmdlets would be 100% compatible, plus my needs were simple so I found it easier to write my own query function. Today, I decided to launch a semi-public beta and share it with you.

Continue reading

Creating a Github Gist with PowerShell

Recently I posted a PowerShell tool for creating a GitHub repository. In continuing my exploration of the GitHub API I wrote another PowerShell tool to create a GitHub gist. A gist is simple way to store and share snippets or code samples. I use them to share simple PowerShell scripts or other works that aren’t full blown multi-file modules. Now I can create these gists directly from PowerShell and the PowerShell ISE.

Continue reading

Creating a GitHub Repository from PowerShell

I’ve been continuing to work with the GitHub API in PowerShell. Today I have a function you can use to create a new GitHub repository. Of course you will need to have a GitHub account and another piece of critical information, but after that it is quite easy to create new repositories. This makes it easier for you to automate provisioning new projects, which is something else I’m working on. But for now, let’s create some repos!

Continue reading