1 function ShowFileExtensions()
3 # http://superuser.com/questions/666891/script-to-set-hide-file-extensions
5 Set-Location HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced
6 Set-ItemProperty . HideFileExt "0"
8 Stop-Process -processName: Explorer -force # This will restart the Explorer service to make this work.