diff --git a/scripts/Windows/Scripts/Context.ps1 b/scripts/Windows/Scripts/Context.ps1 index da07fd4f..8803a8a5 100644 --- a/scripts/Windows/Scripts/Context.ps1 +++ b/scripts/Windows/Scripts/Context.ps1 @@ -255,7 +255,7 @@ class Context { } $nextcloudProcess = Get-Process nextcloud; - $nextcloudPath = $nextcloudProcess.Path; + $nextcloudPath = [string]$nextcloudProcess[0].Path; $nextcloudProcess | Stop-Process -Force; $accountSectionEntered = $false;