IT Questions and Answers :)

Thursday, September 17, 2020

In PowerShell, what is the built-in alias for the ForEach-Object command ?

In PowerShell, what is the built-in alias for the ForEach-Object command ?

  • %
  • fe
  • ?

In PowerShell, what is the built-in alias for the ForEach-Object command ?

EXPLANATION

In order to cut down on the amount of code you have to write, you get handy alias such as:

% - ForEach-Object
? - Where-Object

It just makes coding that much easier but can reduce the understandability of the code. 

SOURCE

 

Share:

0 comments:

Post a Comment

Popular Posts