Additional Script Updates
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
if (Test-Path C:\Windows\SoftwareDistribution.old)
|
||||
{exit 0}
|
||||
else
|
||||
{exit 1}
|
||||
@@ -0,0 +1,3 @@
|
||||
Get-Service -Name wuauserv | Stop-Service
|
||||
Rename-Item -Path C:\Windows\SoftwareDistribution -NewName SoftwareDistribution.old
|
||||
Get-Service -Name wuauserv | Start-Service
|
||||
Reference in New Issue
Block a user