adplus-dvertising
frame-decoration

Question

In PowerShell, what command is used to output text to the console?

a.

display-text

b.

Write-Output

c.

print

d.

echo

Answer: (b).Write-Output Explanation:In PowerShell, the command "Write-Host" or "echo" is used to output text to the console.

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. In PowerShell, what command is used to output text to the console?