1. Execute the following to check the PROFILE variable:
    Get-Variable | Where-Object {$_.Name -like "PROFILE"}
  2. Test if its actually existing on the disk using the following command:
    Test-Path $PROFILE

    This will return True if the profile is already existing on the disk and ready for editing. If this returns False execute the following command:

    New-Item -Path $PROFILE -ItemType "file" -Force