How to get rid of extra irrelevant PowerShell messages

Viewed 39

When I run echo $PWD I get this verbose message,


Path
----
/home/foo

How can I get rid of the irrelevant messages in the output? I simply need /home/foo just like in a bash environment.

1 Answers
echo $PWD.path

$PWD is an object with a member Path.

Related