PowerShell - Variables and Data Types
What does the automatic variable
$_ represent in a PowerShell pipeline?$_ represent in a PowerShell pipeline?$_ in pipelines$_ is a special variable that holds the current item being processed in a pipeline command.$PSVersionTable shows version info, errors use $Error, and command counts are not stored in $_.$_ = current pipeline item [OK]15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions