Remove unused code
This commit is contained in:
parent
5ce37e6e00
commit
1f4ec9932d
1 changed files with 0 additions and 10 deletions
|
@ -1,8 +1,6 @@
|
|||
using namespace Microsoft.Win32;
|
||||
|
||||
$null = New-Module {
|
||||
$wuPolicyPath = "HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate";
|
||||
|
||||
function Edit-DefaultUserKey {
|
||||
param(
|
||||
[scriptblock] $Action
|
||||
|
@ -55,12 +53,4 @@ $null = New-Module {
|
|||
function Disable-BootMessage {
|
||||
Set-BootMessage;
|
||||
}
|
||||
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Resets the automatic reboot state.
|
||||
#>
|
||||
function Reset-WindowsUpdateAutoRestart {
|
||||
Remove-Item -Recurse "$wuPolicyPath";
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue