You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There may be other issues, but the most glaring difference is that the cookbook only puts the profile in as the PowerShell profile, which is 1 of 6 profiles (and not the one used by ISE).
We need to review how profiles are selected, how they work with ISE, and make changes to support PowerShell ISE as a first-class option for installation.
The text was updated successfully, but these errors were encountered:
dougireton
changed the title
Bootstrap fails in PowerShell ISE
Cookbook should write to PowerShell ISE profile as well as PowerShell profile
Jan 23, 2016
We want to write to $Profile.CurrentUserAllHosts per this article. Hosts in this article refers to the program hosting PowerShell, e.g. Console or ISE, not host in the computer sense.
dougireton
changed the title
Cookbook should write to PowerShell ISE profile as well as PowerShell profile
Write PowerShell profile customizations to $Profile.CurrentUserAllHosts
May 7, 2016
Fix#130
Move PowerShell Profile customizations to a PowerShell module on the $env:PSModulePath
Fix#75
Write PowerShell profile customizations to $Profile.CurrentUserAllHosts
Fix#130: Move PowerShell Profile customizations to a PowerShell module on the $env:PSModulePath
Fix#75: Write PowerShell profile customizations to $Profile.CurrentUserAllHosts
* Upgrading from 1.7
This cookbook no longer writes C:\WINDOWS\System32\WindowsPowerShell\v1.0\profile.ps1.
If you are upgrading from 1.7 or earlier you will need to remove [the lines added by the chefdk_bootstrap in v1.7.0](https://github.com/Nordstrom/chefdk_bootstrap/blob/v1.7.0/templates/windows/global_profile.ps1.erb)
or delete the file.
Fix#130: Move PowerShell Profile customizations to a PowerShell module on the $env:PSModulePath
Fix#75: Write PowerShell profile customizations to $Profile.CurrentUserAllHosts
* Upgrading from 1.7
This cookbook no longer writes C:\WINDOWS\System32\WindowsPowerShell\v1.0\profile.ps1.
If you are upgrading from 1.7 or earlier you will need to remove [the lines added by the chefdk_bootstrap in v1.7.0](https://github.com/Nordstrom/chefdk_bootstrap/blob/v1.7.0/templates/windows/global_profile.ps1.erb)
or delete the file.
There may be other issues, but the most glaring difference is that the cookbook only puts the profile in as the PowerShell profile, which is 1 of 6 profiles (and not the one used by ISE).
We need to review how profiles are selected, how they work with ISE, and make changes to support PowerShell ISE as a first-class option for installation.
The text was updated successfully, but these errors were encountered: