Browse Source

Update Sophia.psm1

pull/429/head
Dmitry Nefedov 1 year ago
committed by GitHub
parent
commit
8d3b826179
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      src/Sophia_Script_for_Windows_10/Module/Sophia.psm1

4
src/Sophia_Script_for_Windows_10/Module/Sophia.psm1

@ -9025,8 +9025,8 @@ function UninstallPCHealthCheck
# Find the necessary .msi with the Subject property equal to "Windows PC Health Check"
foreach ($MSI in @(Get-ChildItem -Path "$env:SystemRoot\Installer" -Filter *.msi -File -Force))
{
$name = $Files.Keys | Where-Object -FilterScript {$_ -eq $MSI.Name}
$File = $Files[$name]
$Name = $Files.Keys | Where-Object -FilterScript {$_ -eq $MSI.Name}
$File = $Files[$Name]
# https://learn.microsoft.com/en-us/previous-versions/tn-archive/ee176615(v=technet.10)
# "22" is the "Subject" file property

Loading…
Cancel
Save