FUNDAMENTALS OF COMPUTER

OPERATING SYSTEMS FOR COMPUTERS

COMMAND LINE INTERFACE

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
To make cmdlets easier to run, you can use a ____
A
batch files
B
alias
C
service
D
shortcut
Explanation: 

Detailed explanation-1: -The Set-Alias cmdlet creates an alias in the current PowerShell session. The Name parameter specifies the alias’s name, list . The Value parameter specifies the cmdlet that the alias runs. To run the alias, type list on the PowerShell command line.

Detailed explanation-2: -An alias lets you create a shortcut name for a command, file name, or any shell text. By using aliases, you save a lot of time when doing tasks you do frequently. You can create a command alias.

Detailed explanation-3: -Description. The Get-Alias cmdlet gets the aliases in the current session. This includes built-in aliases, aliases that you have set or imported, and aliases that you have added to your PowerShell profile. By default, Get-Alias takes an alias and returns the command name.

There is 1 question to complete.