我正在尝试检查 cmdlet 的别名。我如何通过命令验证这一点?
我一直在尝试这种方式:
Get-Command -CommandType alias | Where-Object {$ _. Name-like "Copy-Item"}
结果:
powershell
powershell ×1