PowerShell中的'alias'关键字是什么?

ora*_*rad 6 powershell

看起来它不是别名.

get-alias alias error:此命令找不到匹配的别名,因为名称为'alias'的别名不存在.

而且这不是一个命令

get-command alias 错误:术语"别名"未被识别为cmdlet,函数,脚本文件或可操作程序的名称.

最有可能aliasget-aliascmdlet 的别名,但它在哪里定义?

Mik*_*ard 6

出于某种原因,您可以省略PowerShell中get-get-xxxxcmdlet,它将get-为您添加.

例如,您可以键入hotfix而不是get-hotfix