Last active
August 29, 2015 14:25
-
-
Save breischl/531b4ada2a0874be58e1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions | |
cinst sublimetext2 | |
cinst notepadplusplus | |
cinst webdeploy | |
if (!(Test-Path -Path L:\logs\ )) { | |
mkdir "L:\logs\" | |
$Acl = Get-Acl "L:\logs\" | |
$Ar = New-Object system.security.accesscontrol.filesystemaccessrule("NETWORK SERVICE","FullControl","Allow") | |
$Acl.SetAccessRule($Ar) | |
Set-Acl "L:\logs\" $Acl | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment