Advertisement
Guest User

Untitled

a guest
Jul 20th, 2017
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ls "Registry::HKEY_CLASSES_ROOT\MIME\Database\Content Type" | % { gp $_.pspath } | ? { $_.Extension -ne $null }
  2. # 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