Hi All,
I solved this myself. I didn’t realise the PowerShell ISE and PowerShell console used different profiles, so had created a $profile in ISE which was ineffectual in PowerShell. Adding my LoadFile calls to the correct profile had the desired results.
Cheers,
D