Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

help with set-alias command

$
0
0

Hello,

     I am just learning Power Shell , and I have a question regarding set-alias that I wish to get your help and expertise.

I am trying a very simple set-alias command that I learn from the book such as :

PS C:\Users\umktdm> set-alias -name gi -value set-item

The system come back and give me an error message saying that 

set-alias : Alias is not writeable because alias gi is read-only or constant and cannot be written to.
At line:1 char:1
+ set-alias -name gi -value set-item

Could I ask if the error means that I am not having permission to write on the computer ? since I am working from one of computer from our school so it may prevent me from changing any of its configuration. I may be wrong  on my assumption since i am just learning Power Shell.

Thank you so much for all of the help.


 



Student at Georgia Tech


Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>