mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 08:43:00 +00:00
sync from windows
This commit is contained in:
parent
2147f4b960
commit
bc3834188d
12 changed files with 219 additions and 31 deletions
|
|
@ -11,7 +11,9 @@ Set-MpPreference -ControlledFolderAccessProtectedFolders $protected
|
|||
$apps = (Get-MpPreference).ControlledFolderAccessAllowedApplications
|
||||
$apps += "$Env:Windir\System32\OpenSSH\ssh.exe"
|
||||
$apps += "$Env:ProgramFiles\GPSoftware\Directory Opus\DOpus.exe"
|
||||
$apps += "$Env:UserProfile\scoop\apps\pwsh\current\pwsh.exe"
|
||||
$apps += (Get-Command -Name code).Source.Replace("bin\code.cmd", "Code.exe")
|
||||
$apps += (Get-Command -Name pwsh).Source
|
||||
$apps += (Get-Command -Name git).Source
|
||||
Set-MpPreference -ControlledFolderAccessAllowedApplications $apps
|
||||
|
||||
$exclusion = (Get-MpPreference).ExclusionPath
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue