The full guide of PowerShell that any developer needs to know – Aliases


The full guide of PowerShell that any developer needs to know – Index

In PowerShell (PS) you can use Aliases wich are short name of cmdlets, command, function, script, file or executable.

You can get all PS aliases with this cmdlet:

Get-Alias

You can create/change your own aliases, for example:

Set-Alias -Name ping -Value Test-NetConnection

Now you can use ping instead Test-NetConnection

When the session is end you lost all your aliases, so is a good practice to save your aliases in a script or file and import them when you start a new session in PS.

Extra documentation:

 

The full guide of PowerShell that any developer needs to know – Index

About the author:

Matías Creimerman

Matías Creimerman
I’m a specialist in design, development and management of software solutions with almost 20 years of experience. Microsoft Certificated Professional (MCP). Expert in dot net and Microsoft technologies. Experience and skills in designing solutions in a wide range of commercial, industrial and production areas. Design of architectures, software applications and processes. Skills in leadership and team management. Tech trainer. Technology researcher. Self-taught and dedicated to continuous learning. Skills in estimation, quotation, projects proposals and solutions design. Entrepreneurial spirit. Strong Tech profile but also customer oriented. I perform roles as fullstack dev, tech consultant, technical referent, development leader, team leader, architect, cross leader, tech manager, tech director, trainer, ramp-up & follow-up teams, software factory manager, DevOps and release manager. Regular chess player and musician.

Professional Website

In

Blogger

Github

About Me

Portfolio

Wordpress - Arquitectura y desarrollo de software

Wordpress - Personal Blog

Microsoft - Youracclaim Badges

Microsoft - Tech Profile

Microsoft - ASP.NET Forum

tw
Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License
Creative Commons License
This content is property of Matias Creimerman Any misuse of this material will be punishable
This work is licensed under a International Copyright Law protects «original works of authorship»
including photographs, videos, and blog posts posted on social media sites
The content has no rights to be shared without authorization or citation to the author.
This content cannot be sold be adapted or modified partially or totally.
All content shared outside this blog that doesn’t belong to the author must have citations to the author.

Un comentario en “The full guide of PowerShell that any developer needs to know – Aliases”

Deja un comentario