簡體   English   中英

如何運行與 PowerShell 別名同名的命令?

[英]How to run a command with the same name as a PowerShell alias?

我有一些與 PowerShell 別名同名的命令行實用程序。 例如whereWhere-Object的別名)會影響 Windows 附帶的where工具。

在 bash 中,我可以使用\command (如\wherecommand where )跳過別名。 PowerShell 中是否有類似的東西?

您可以在調用時添加擴展:

& where.exe "arguments"

或指定完整路徑。

請參見About_Command_Precedence

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM