Changed Write-Warn to be Write-Warning

This commit is contained in:
setoy 2025-02-05 14:12:37 +01:00
parent 738dc8d7a0
commit 4df5421699

View File

@ -540,7 +540,7 @@ class PlexDBRepair {
try {
return (Get-ItemProperty -path 'HKCU:\Software\Plex, Inc.\Plex Media Server' -EA Stop)
} catch {
Write-Warn "Could not find Plex registry settings (HKCU\Software\Plex, Inc.\Plex Media Server). Are you sure Plex is installed on this machine?"
Write-Warning "Could not find Plex registry settings (HKCU\Software\Plex, Inc.\Plex Media Server). Are you sure Plex is installed on this machine?"
exit
}
}