How to find parts of a pathinfo object in powershell

Get-Location (which I call pwd) returns a PathInfo

A System.Management.Automation.PathInfo.

It has four Properties of great use (and here is an example for each)

See also