Returns a path's PowerShell provider.
Get-PathProvider [-Path] <String> [<CommonParameters>]
When you want to do something with a path that depends on its provider, use this function. The path doesn't have to exist.
If you pass in a relative path, it is resolved relative to the current directory. So make sure you're in the right place.
The path whose provider to get.
Get-PathProvider -Path 'C:\Windows'
Demonstrates how to get the path provider for an NTFS path.