Profile File Only Runs Intermittently

Issue #134 new
Nick De Lancie created an issue

For VS Community 2017 v. 15.9.13, | PoshTools v. 4.7.1 (not Pro) | $PSVersionTable output at end

When the PowerShell Interactive Window is started after VS loads, the PS profile file only runs sometimes, Not clear why it does or does not. $profile returns the correct path and filename (in my case, c:\users\[UserID]\Documents\WindowsPowerShell\PoshTools_profile.ps1)

Under Windows PowerShell ISE, , $profile always runs on instantiation of the ISE.

PSVersion                      5.1.15063.1563
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.15063.1563
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1

Comments (1)

  1. Log in to comment