Tuesday, January 09, 2024

PowerShell Quick Tip: Get alias for a cmdlet

PowerShell Quick Tip: Get alias for a cmdlet

Below shows how to get the aliases for Remove-Item cmdlet.
PS C:\prj> Get-Alias -Definition Remove-Item
CommandType     Name                   Version    Source
-----------     ----                   -------    ------
Alias           del -> Remove-Item
Alias           erase -> Remove-Item
Alias           rd -> Remove-Item
Alias           ri -> Remove-Item
Alias           rm -> Remove-Item
Alias           rmdir -> Remove-Item

No comments:

How to configure nfs server on QNX 7.1

How to configure nfs server on QNX 7.1 Target: QNX 7.1 running on a VM (VMware Workstation or VirtualBox). It is assummed that the targets ...