Test if a profile file exists Test-Path $Profile Create a new profile file New-Item –Path $Profile –Type File –Force Open profile code $profile