MOTD for Powershell (Using the fortune-mod (linux) Package files)

I downloaded and altered the fortune-mod fortune files so that there’s one fortune per line. This can be downloaded here:
http://pastebin.com/TnxeyWJm

Next step is to add the following thing to your $Profile

function get-motd{
$fortunes = get-content \path\to\fortunes.txt
get-random -InputObject $fortunes
}
.......
clear-host
get-motd{}

It’s virtually important that you run the function after the clear-host. Otherwise the quote will not appear / will be erradicated before it even had time to present itself to you)