From: EdTheDev Date: Sat, 13 Mar 2021 21:48:02 +0000 (-0600) Subject: Better file names. X-Git-Url: https://apps.delaporte.us/gitweb/dotfiles.git/commitdiff_plain/d95943b9389841446d51c4330e82f69079690914?ds=sidebyside Better file names. --- diff --git a/setup/powershell.ps1 b/setup/powershell.ps1 index 6986211..762dea2 100644 --- a/setup/powershell.ps1 +++ b/setup/powershell.ps1 @@ -1,8 +1,2 @@ Write-Host "Require remote scripts to be signed." -Set-ExecutionPolicy RemoteSigned - -Write-Host "Show file extensions for known types" -Set-Location HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Set-ItemProperty . HideFileExt "0" -Set-Location C:\ - +Set-ExecutionPolicy RemoteSigned \ No newline at end of file diff --git a/setup/show-hidden-files.ps1 b/setup/show-hidden-files.ps1 new file mode 100644 index 0000000..785d25c --- /dev/null +++ b/setup/show-hidden-files.ps1 @@ -0,0 +1,5 @@ + +Write-Host "Show file extensions for known types" +Set-Location HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced +Set-ItemProperty . HideFileExt "0" +Set-Location C:\ \ No newline at end of file