Bored due to the Roni Ronas, or just in general?

Brush up your code game by participating in Code Golf!

Code Golf

If you are running an older version of TLS and try to interact with the PowerShell Gallery you may see error messages like:

WARNING: Unable to resolve package source ‘’

The gallery officially only supports TLS 1.2, so you have to use this as a workaround:

[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 

Read more:

Advent Of Code 2019 Advent of Code is an Advent calendar of small programming puzzles for a variety of skill sets and skill levels that can be solved in any programming language you like.

It’s pretty neat, give it a try!

Ok, this is not new or rocketsurgery, but it’s handy.

You can Google right out of the cmdline :¬) Just add this to your PowerShell profile

function google{
    if(-not($args.count -eq 0)){
        $searchstring = $args -join " " 
        $url = "$searchstring"
        $url = $url -replace "\s", "%20"
        Start-Process $Url