Minor fixes

This commit is contained in:
seerge
2023-02-13 19:02:10 +01:00
parent f48c7c388a
commit aff667345d
2 changed files with 2 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
$taskName = "G14Helper"
$task = Get-ScheduledTask -TaskName $taskName -ErrorAction SilentlyContinue
if ($task -ne $null)
if ($null -ne $task)
{
Unregister-ScheduledTask -TaskName $taskName -Confirm:$false
}