mirror of
https://github.com/microsoft/onefuzz.git
synced 2025-06-11 09:41:37 +00:00
use sc.exe instead of Set-Content (#67)
This commit is contained in:
parent
534d99bb87
commit
5e3c79efd2
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user