Get Parts of a FileInfo object (such as FileName Without Extension)

...That would be the BaseName.

e.g.

> Get-ChildItem . *.linq | ft -property BaseName
calendar

Here's all the members of FileInfo that are most relevant:

Example:

C:\users\user1\dropbox\secretGeek\util\linqPad\calendar.linq

(FileInfo and DirectoryInfo -- both derive from FileSystemInfo)

See also