You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I ran a quick compare on the difference on the aliases:
CommandType Name Version Source
----------- ---- ------- ------
Alias asnp -> Add-PSSnapin
Alias CFS -> ConvertFrom-String 3.1.0.0 Microsoft.PowerShell.Utility
Alias curl -> Invoke-WebRequest
Alias epsn -> Export-PSSession
Alias gcb -> Get-Clipboard 3.1.0.0 Microsoft.PowerShell.Management
Alias gsnp -> Get-PSSnapin
Alias gwmi -> Get-WmiObject
Alias ipsn -> Import-PSSession
Alias irm -> Invoke-RestMethod
Alias ise -> powershell_ise.exe
Alias iwmi -> Invoke-WmiMethod
Alias iwr -> Invoke-WebRequest
Alias lp -> Out-Printer
Alias npssc -> New-PSSessionConfigurationFile
Alias ogv -> Out-GridView
Alias rsnp -> Remove-PSSnapin
Alias rujb -> Resume-Job
Alias rwmi -> Remove-WmiObject
Alias scb -> Set-Clipboard 3.1.0.0 Microsoft.PowerShell.Management
Alias shcm -> Show-Command
Alias sujb -> Suspend-Job
Alias swmi -> Set-WmiInstance
Alias trcm -> Trace-Command
Alias wget -> Invoke-WebRequest
It seems multiple aliases have been removed. Perhaps this list could be reviewed and the relevant ones could be added back.
Keep in mind that all of the *nix oriented alias have been removed in order to not conflict with the corresponding native utility. Ditto for the sort alias. IWR must have been an oversight??
Yeah this means that all of us shell-first cross-platform people (like me)
need to be careful about unintended effects. And of course, never ever use
aliases in your scripts. That was important before, but now it's even more
so.
Some of the missing aliases are very obvious when you think about it. If
one trips you up, I recommend a quick which [CMD], and you'll probably
find there's a match in /bin or similar.
Keep in mind that all of the *nix oriented alias have been removed in
order to not conflict with the native utility. Ditto for the sort alias.
IWR must have been an oversight??
Activity
jaapbrasser commentedon Aug 15, 2016
I ran a quick compare on the difference on the aliases:
It seems multiple aliases have been removed. Perhaps this list could be reviewed and the relevant ones could be added back.
rkeithhill commentedon Aug 15, 2016
Keep in mind that all of the *nix oriented alias have been removed in order to not conflict with the corresponding native utility. Ditto for the
sortalias. IWR must have been an oversight??halr9000 commentedon Aug 15, 2016
Yeah this means that all of us shell-first cross-platform people (like me)
need to be careful about unintended effects. And of course, never ever use
aliases in your scripts. That was important before, but now it's even more
so.
Some of the missing aliases are very obvious when you think about it. If
one trips you up, I recommend a quick
which [CMD], and you'll probablyfind there's a match in /bin or similar.
On Mon, Aug 15, 2016, 12:02 PM Keith Hill notifications@github.com wrote:
Francisco-Gamino commentedon Feb 1, 2017
Fixed.