Comments on: Az Predictor Module – Azure PowerShell Predictions https://www.thomasmaurer.ch/2021/02/az-predictor-module-azure-powershell-predictions/ Cloud and Datacenter Blog focusing on Microsoft Azure Fri, 18 Nov 2022 11:16:54 +0000 hourly 1 https://wordpress.org/?v=6.4.1 By: Gulzar Shaikh https://www.thomasmaurer.ch/2021/02/az-predictor-module-azure-powershell-predictions/#comment-848554 Sun, 28 Feb 2021 06:25:51 +0000 https://www.thomasmaurer.ch/?p=20419#comment-848554 I noticed that if I use PS /Users/gulzarshaikh/pulumi-qs> Set-PSReadLineOption -PredictionSource History instead of PS /Users/gulzarshaikh/pulumi-qs> Set-PSReadLineOption -PredictionSource HistoryAndPlugin, it works, it mentions it as a valid parameter

]]>
By: Gulzar Shaikh https://www.thomasmaurer.ch/2021/02/az-predictor-module-azure-powershell-predictions/#comment-848553 Sun, 28 Feb 2021 06:14:25 +0000 https://www.thomasmaurer.ch/?p=20419#comment-848553 PS /Users/gulzarshaikh/pulumi-qs> Set-PSReadLineOption -PredictionSource HistoryAndPlugin Set-PSReadLineOption: Cannot bind parameter ‘PredictionSource’. Cannot convert value “HistoryAndPlugin” to type “Microsoft.PowerShell.PredictionSource”. Error: “Unable to match the identifier name HistoryAndPlugin to a valid enumerator name. Specify one of the following enumerator names and try again: None, History” PS /Users/gulzarshaikh/pulumi-qs>

]]>
By: Axel https://www.thomasmaurer.ch/2021/02/az-predictor-module-azure-powershell-predictions/#comment-848482 Fri, 26 Feb 2021 12:22:06 +0000 https://www.thomasmaurer.ch/?p=20419#comment-848482 With PS7.2.0-preview.3 it works great
https://aka.ms/PowerShell-Release?tag=v7.2.0-preview.3

]]>
By: Axel https://www.thomasmaurer.ch/2021/02/az-predictor-module-azure-powershell-predictions/#comment-848481 Fri, 26 Feb 2021 12:03:25 +0000 https://www.thomasmaurer.ch/?p=20419#comment-848481 Hi Thomas, same here.

PS C:\Windows\System32> Set-PSReadLineOption -PredictionSource HistoryAndPlugin
Set-PSReadLineOption: The prediction plugin source is not supported in this version of PowerShell. The 7.2 or a higher version of PowerShell is required to use this source.

Installed PS 7.1.2 with -Daily, but same error

]]>
By: Thomas Maurer https://www.thomasmaurer.ch/2021/02/az-predictor-module-azure-powershell-predictions/#comment-848439 Thu, 25 Feb 2021 10:37:29 +0000 https://www.thomasmaurer.ch/?p=20419#comment-848439 In reply to Ed.

Hi Ed
Thanks for the comment. it works fine here with PowerShell 7.1. Did you install the PSReadline 2.2.0-beta1
PowerShell 7.1

]]>
By: Ed https://www.thomasmaurer.ch/2021/02/az-predictor-module-azure-powershell-predictions/#comment-848437 Thu, 25 Feb 2021 10:22:19 +0000 https://www.thomasmaurer.ch/?p=20419#comment-848437 Hi Thomas – i cant get the history and plugin option to work on pwsh 7.1 it tells me it needs 7.2 , just for info

]]>