mirror of
https://github.com/microsoft/onefuzz.git
synced 2025-06-12 18:18:08 +00:00
use sc.exe instead of Set-Content (#67)
This commit is contained in:
@ -44,8 +44,8 @@ function Optimize-VM {
|
||||
Get-AppxPackage Microsoft.549981C3F5F10 | Remove-AppxPackage
|
||||
|
||||
log "disable Windows Search"
|
||||
sc stop "WSearch"
|
||||
sc config "WSearch" start= disabled
|
||||
sc.exe stop "WSearch"
|
||||
sc.exe config "WSearch" start= disabled
|
||||
}
|
||||
|
||||
function Set-SetSSHACL {
|
||||
|
Reference in New Issue
Block a user