Log also Changed settings if None

pull/257/head
KnifMelti 2022-12-31 13:16:57 +01:00
parent 395a94c63a
commit ad7333136a
1 changed files with 4 additions and 0 deletions

View File

@ -300,6 +300,10 @@ Function Get-Policies {
if ($ChangedSettings -gt 0) {
Write-Log "Changed settings: $ChangedSettings" "Yellow"
}
else {
Write-Log "Changed settings: None" "Yellow"
}
#Get WAU Configurations after Policies change
$Script:WAUConfig = Get-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Winget-AutoUpdate"
}