Jean-Luc Aufranc – Google+ – 4K / UHD televisions are getting quite cheap. $500 for 39″,….
Interesting as a Retina MacBook Pro should be able to drive 4K displays.
–jeroen
Posted by jpluimers on 2014/02/26
Jean-Luc Aufranc – Google+ – 4K / UHD televisions are getting quite cheap. $500 for 39″,….
Interesting as a Retina MacBook Pro should be able to drive 4K displays.
–jeroen
Posted in Apple, Mac, MacBook, MacBook Retina, MacBook-Pro, Power User | Leave a Comment »
Posted by jpluimers on 2014/02/26
In most programming environments, I tend to avoid abbreviations, especially since command-completion and parameter-completion makes it easier to write readable code.
Same fore PowerShell: the PowerShell ISE has great completion features.
Other people tend to use abbreviations, especially since many PowerShell aliases make it easier for people coming from a cmd or bash background.
Two Get-Alias commands I use quite often for researching aliases:
Get-Alias -Definition <name>
Get-Alias | Sort-Object Definition
The former gives you the CmdLet for an alias.
The latter all defines alises sorted by the CmdLet definition.
Two aliases that I tend to avoid are these:
%
) alias for ForEach-Object
(I tend to write that full, or use foreach
)?
) alias for Where-Object
(again: either full, or where
)While you are at it, there are also parameter aliases. Read Weekend Scripter: Discovering PowerShell Cmdlet Parameter Aliases on TechNet Blogs to learn more about these.
–jeroen
Posted in .NET, CommandLine, Development, PowerShell, Software Development | Leave a Comment »