Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ls "Registry::HKEY_CLASSES_ROOT\MIME\Database\Content Type" | % { gp $_.pspath } | ? { $_.Extension -ne $null }
- # pipe and do what you need, $_.PSChildName is the mime type, $_.Extension is the extension.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement