This tip is relevant to Python developers using Windows (but who love the *nix command line [i.e. bash]).

1. Paste this into windows File Explorer: %UserProfile%\Documents\WindowsPowerShell to open the PowerShell profile directory.

2. Create a user profile:

# Created: February 2, 2016
# Usage: touch filename
#
# References:
# @link http://superuser.com/a/571154/501534
# @link http://www.howtogeek.com/50236/customizing-your-powershell-profile/
# @link @link http://ss64.com/ps/set-content.html (convert to UTF-8)

function touch {
    $file = $args[0]

    if ($file -eq $null) {
    
        throw "No filename supplied"
    
    }

    if (test-path $file) {
        
        (Get-ChildItem $file).LastWriteTime = get-date
    
    } else {
    
        echo '' >> $file
        (get-content $file) | set-content $file -encoding UTF8
    
    }
}