diff --git a/module/PowerShellEditorServices/Commands/Public/Clear-Host.ps1 b/module/PowerShellEditorServices/Commands/Public/Clear-Host.ps1 index 4aa646942..50e9d4503 100644 --- a/module/PowerShellEditorServices/Commands/Public/Clear-Host.ps1 +++ b/module/PowerShellEditorServices/Commands/Public/Clear-Host.ps1 @@ -14,5 +14,5 @@ function Clear-Host { } if (!$IsMacOS -or $IsLinux) { - Set-Alias -Name clear -Value Clear-Host + Microsoft.PowerShell.Utility\Set-Alias -Name clear -Value Clear-Host -Option AllScope }