I just upgraded to Windows 7 and I want to get my Powershell profile up and running.
I load PS and set the execution policy to unrestricted with my 'run as admin' powers, then put my profile in the appropriate place. I reload PS and it errors.
get-execution policy returns restricted.
However, the registry check returns unrestricted.
After a reboot, the situation remains the same.
Checking further, I observe that under Admin mode, I have Unrestricted powers, but as a regular user, I have Restricted powers.
After doing some Powershell work in XP today, I noticed that in XP, Powershell is always in admin mode. Evidently it got turned into usermode on Win7. Aargh!
How do I get my profile script to execute in regular user mode?