PowerShell Cmdlet of the Day Podcast

Episode 6 – Split-Path

Download the MP3 Podcast

In this episode we look at how you can carve up strings that make up strings of text that make up paths with Split-Path:

By default – returns parent path

Leaf – returns the end of the path (file or directory name)

NoQualifier – removes the drive letter from the path

Qualifier – returns just the drive letter

IsAbsolute – returns true if it is an absolute path, not a relative path.

Resolve – evaluates the string path to a real path

Brought to you by The Windows PowerShell Bible 2.0 and PowerShellGroup.Org