Hello! I am working with PowerShell Basics, Command History and Aliases course
I am in PowerShell Admin mode and ran the following:
Set-PSReadLineOption -HistoryNoDuplicates :$false (trying to toggle on/off)
And I get the following error message:
*Set-PSReadLineOption : A positional parameter cannot be found that accepts argument ':False'.
At line:1 char:1
- Set-PSReadLineOption -HistoryNoDuplicates :$false
-
+ CategoryInfo : InvalidArgument: (:) [Set-PSReadLineOption], ParameterBindingException + FullyQualifiedErrorId : PositionalParameterNotFound,Microsoft.PowerShell.SetPSReadLineOption*
Anyone have any ideas why I would be getting this error?