PowerShell - Variables and Data Types
Why is
$_ considered an automatic variable in PowerShell pipelines?$_ considered an automatic variable in PowerShell pipelines?$_ role$_ automatically holds the current object in the pipeline for each iteration, enabling easy access.$_ = current pipeline object automatically [OK]$_ auto-updates with current pipeline item [OK]15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions