Do you happen to know how I can get around this problem:
My powershell "profile" location is determined by the $profile variable. It seems to get set each time I open powershell
We have redirected desktop/homeshare... to network shares my location is \\seabird\doug$\\WindowsPowershell\microsoft.powershell_profile.ps1
it got the above by typeing $profile and pushing enter in ps.
when i put stuff in this file and open power shell i get a message saying "cannot be loaded because scripts is disabled on this system".
It says view get-help about_signing. From what i can see it has to do with digital signing? What it suggests is going to the file, rightclick, select properties and click unblock. I don't have the unblock choice if i try this.
So it says you can sign it which seems interesting but I am not sure if I can /should do it.
The other thing i was thinking about is there a way to change where this thing looks for my profile information. There is a variable used to find out what it is $profile. I tried changing it but it seems to reset it each time you open powershell.
So i was wondering if you had any suggestions? about changing where it looks or how to do signing.
Regards,