mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Change docs.microsoft.com to learn.microsoft.com (#19994)
This commit is contained in:
@@ -18,7 +18,7 @@ switch ($TestHook) {
|
||||
default {
|
||||
$jobScript = {
|
||||
# This registers Microsoft Update via a predifened GUID with the Windows Update Agent.
|
||||
# https://docs.microsoft.com/en-us/windows/win32/wua_sdk/opt-in-to-microsoft-update
|
||||
# https://learn.microsoft.com/windows/win32/wua_sdk/opt-in-to-microsoft-update
|
||||
|
||||
$serviceManager = (New-Object -ComObject Microsoft.Update.ServiceManager)
|
||||
$isRegistered = $serviceManager.QueryServiceRegistration('7971f918-a847-4430-9279-4a52d1efe18d').Service.IsRegisteredWithAu
|
||||
|
||||
Reference in New Issue
Block a user