Log also Changed settings if None
parent
395a94c63a
commit
ad7333136a
|
@ -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"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue