Hello,
What is wrong with the following code:
Set-alias gs set-executionpolicy restricted
I want to set this line in my $profile but the line isnt working. I got the same problem when I want to use "cd" instead of set-executionpolicy, for example:
set-alias gs cd C:\myscripts
But neither of them work. Can someone tell me what i'm doing wrong or tell me a other way of doing it if it is not possible doing it with set-alias.
Thanks!