Skip to content

Instantly share code, notes, and snippets.

@cob999
cob999 / profile.ps1
Last active September 21, 2018 08:51
A PowerShell profile
# Create profile with
# $profileExists = Test-path $profile.CurrentUserAllHosts
# if(!$profileExists) { New-item –type file –force $profile.CurrentUserAllHosts }
# code $profile.CurrentUserAllHosts
#
if($host.Name -eq 'ConsoleHost')
{
Import-Module PSReadline
Import-Module Jump.Location