Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
8 lines (6 sloc) 320 Bytes
#Enter the machine name into the array called "machines"
$machines = "",""
$key = "Software\Microsoft\Windows\CurrentVersion\Policies\System"
$value = "Legalnoticecaption"
Test-RegValue -Key $key -Value $value -ComputerName $machines -PassThru | Remove-RegValue -Force
Read-Host -Prompt "Press Enter to exit"
You can’t perform that action at this time.