Welcome to MSDN Blogs Sign in | Join | Help

alias | where {$_.Definition -eq "Set-Location"}

Back from the airport, checked my e-mail and decided I would finally switch to PowerShell as it starts to have the same responsiveness as CMD.EXE when typing DIR. My first """"fancy"""" command? Here it is:

alias | where {$_.Definition -eq "Set-Location"}

Some resources:

  1. http://www.microsoft.com/windowsserver2003/technologies/management/powershell/default.mspx
  2. http://blogs.msdn.com/powershell/
Published Tuesday, June 27, 2006 5:09 AM by yvesdolc

Comments

# re: alias | where {$_.Definition -eq "Set-Location"}

Thursday, July 13, 2006 8:34 AM by PowerShellTeam
PSMDTAG:FAQ: Alias - how do I find the aliases for a particular command?

Jeffrey Snover [MSFT]
Windows PowerShell/Aspen Architect
Visit the Windows PowerShell Team blog at:    http://blogs.msdn.com/PowerShell
Visit the Windows PowerShell ScriptCenter at:  http://www.microsoft.com/technet/scriptcenter/hubs/msh.mspx
Anonymous comments are disabled
 
Page view tracker