From 4df54216999feedc70901eada171e68e188b58eb Mon Sep 17 00:00:00 2001 From: setoy Date: Wed, 5 Feb 2025 14:12:37 +0100 Subject: [PATCH] Changed Write-Warn to be Write-Warning --- Windows/DBRepair-Windows.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Windows/DBRepair-Windows.ps1 b/Windows/DBRepair-Windows.ps1 index 0ef606e..516d46e 100644 --- a/Windows/DBRepair-Windows.ps1 +++ b/Windows/DBRepair-Windows.ps1 @@ -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 } }