|
@ -269,7 +269,7 @@ public static string GetString(uint strId) |
|
|
Start-Process -FilePath "https://discord.gg/sSryhaEv79" |
|
|
Start-Process -FilePath "https://discord.gg/sSryhaEv79" |
|
|
Start-Process -FilePath "https://github.com/farag2/Sophia-Script-for-Windows#system-requirements" |
|
|
Start-Process -FilePath "https://github.com/farag2/Sophia-Script-for-Windows#system-requirements" |
|
|
|
|
|
|
|
|
# Enable receiving updates for other Microsoft products when you update Windows |
|
|
# Receive updates for other Microsoft products when you update Windows |
|
|
(New-Object -ComObject Microsoft.Update.ServiceManager).AddService2("7971f918-a847-4430-9279-4a52d1efe18d", 7, "") |
|
|
(New-Object -ComObject Microsoft.Update.ServiceManager).AddService2("7971f918-a847-4430-9279-4a52d1efe18d", 7, "") |
|
|
|
|
|
|
|
|
# Check for UWP apps updates |
|
|
# Check for UWP apps updates |
|
@ -297,7 +297,7 @@ public static string GetString(uint strId) |
|
|
Start-Process -FilePath "https://discord.gg/sSryhaEv79" |
|
|
Start-Process -FilePath "https://discord.gg/sSryhaEv79" |
|
|
Start-Process -FilePath "https://github.com/farag2/Sophia-Script-for-Windows#system-requirements" |
|
|
Start-Process -FilePath "https://github.com/farag2/Sophia-Script-for-Windows#system-requirements" |
|
|
|
|
|
|
|
|
# Enable receiving updates for other Microsoft products when you update Windows |
|
|
# Receive updates for other Microsoft products when you update Windows |
|
|
(New-Object -ComObject Microsoft.Update.ServiceManager).AddService2("7971f918-a847-4430-9279-4a52d1efe18d", 7, "") |
|
|
(New-Object -ComObject Microsoft.Update.ServiceManager).AddService2("7971f918-a847-4430-9279-4a52d1efe18d", 7, "") |
|
|
|
|
|
|
|
|
# Check for UWP apps updates |
|
|
# Check for UWP apps updates |
|
@ -633,7 +633,7 @@ public static string GetString(uint strId) |
|
|
Start-Process -FilePath "https://t.me/sophia_chat" |
|
|
Start-Process -FilePath "https://t.me/sophia_chat" |
|
|
Start-Process -FilePath "https://discord.gg/sSryhaEv79" |
|
|
Start-Process -FilePath "https://discord.gg/sSryhaEv79" |
|
|
|
|
|
|
|
|
# Enable receiving updates for other Microsoft products when you update Windows |
|
|
# Receive updates for other Microsoft products when you update Windows |
|
|
(New-Object -ComObject Microsoft.Update.ServiceManager).AddService2("7971f918-a847-4430-9279-4a52d1efe18d", 7, "") |
|
|
(New-Object -ComObject Microsoft.Update.ServiceManager).AddService2("7971f918-a847-4430-9279-4a52d1efe18d", 7, "") |
|
|
|
|
|
|
|
|
# Check for UWP apps updates |
|
|
# Check for UWP apps updates |
|
@ -10459,8 +10459,8 @@ function Install-WSL |
|
|
# Receive updates for other Microsoft products when you update Windows |
|
|
# Receive updates for other Microsoft products when you update Windows |
|
|
(New-Object -ComObject Microsoft.Update.ServiceManager).AddService2("7971f918-a847-4430-9279-4a52d1efe18d", 7, "") |
|
|
(New-Object -ComObject Microsoft.Update.ServiceManager).AddService2("7971f918-a847-4430-9279-4a52d1efe18d", 7, "") |
|
|
|
|
|
|
|
|
# Trigger Windows Update for detecting new updates |
|
|
# Check for updates |
|
|
(New-Object -ComObject Microsoft.Update.AutoUpdate).DetectNow() |
|
|
Start-Process -FilePath "$env:SystemRoot\System32\UsoClient.exe" -ArgumentList StartInteractiveScan |
|
|
} |
|
|
} |
|
|
#endregion |
|
|
#endregion |
|
|
|
|
|
|
|
|