Creating Alias in Windows Powershell

  alias, powershell, windows

I want to create an alias for ‘jupyter notebook’ in windows powershell. I ran the following command:

Set-Alias -Name jup -Value jupyter notebook

It triggered following error:

Set-Alias : A positional parameter cannot be found that accepts argument 'notebook'.
At line:1 char:1
+ Set-Alias -Name jup -Value jupyter notebook
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [Set-Alias], ParameterBindingException
    + FullyQualifiedErrorId : PositionalParameterNotFound,Microsoft.PowerShell.Commands.SetAliasCommand

Can someone please help me fix it?

Source: Windows Questions