set-alias get-eventlog This topic contains 6 replies, has 3 voices, and was last updated by Darren Rolfe 9 months, 3 weeks ago. Author Posts August 29, 2017 at 11:53 am #78265 Darren RolfeParticipant Hello, This is my first post so please be understanding with this simple question from a novice. I was testing the set-alias commandlet, and think I've now screwed up a commandlet which doesn't work with either the full commandlet name or the alias I tried to assign it. I ran the following: set-alias get-eventlog el I think that I should have written this: set-alias el get-eventlog Is that correct? Unfortunately, I can not run get-eventlog anymore. How can I reset get-eventlog? Any assistance is much appreciated. Regards, Darren August 29, 2017 at 12:19 pm #78271 Olaf SoykParticipant It should be enough when you start a new console window. Aliasses will not be saved automaticly. August 29, 2017 at 12:42 pm #78274 Darren RolfeParticipant Thank you Olaf for the quick response. I suppose my next question is – how do I create an alias that will persist? August 29, 2017 at 12:48 pm #78278 Olaf SoykParticipant You could use a Powershell profile. Get-Help about_profiles I'd rather use tab completion instead of a lot of aliasses or abbreviations. August 29, 2017 at 12:59 pm #78284 Darren RolfeParticipant Thanks again Olaf 🙂 August 29, 2017 at 12:45 pm #78275 Simon BParticipant https://technet.microsoft.com/en-us/library/ee176913.aspx?f=255&MSPPError=-2147217396 August 29, 2017 at 1:01 pm #78286 Darren RolfeParticipant Thank you Simon 🙂 Author Posts You must be logged in to reply to this topic.