Open gthibaud opened 4 years ago
Try:
Import-Module LogicAppTemplate
Import-Module
isn't necessary in PowerShell >= 3.0 unless you've changed the preference variable $PSModuleAutoloadingPreference from its default, which implicitly imports all modules on first-use.
Unfortunately, it appears that this module is built on .NET Framework, not .NET Core, so it can only run on Windows.
After running Install-Module -Name LogicAppTemplate
, you can view info about the installed module with Get-Module -ListAvailable -Name LogicAppTemplate
. If you notice the Desk
under the column PSEdition
, this means that the module is only supported on Windows PowerShell. See -PSEdition
here for more info.
Yea we have another issue targeting this, will try to port this to Powershell Core
Hello,
I'm trying to use
Get-LogicAppTemplate
andGet-ParameterTemplate
with PowerShell Core, but I get every time this error:Get-LogicAppTemplate: The term 'Get-LogicAppTemplate' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
Configuration:
Azure Cloud Shell with PowerShell:
MacOS 10.15.3 with PowerShell Core 7.0.0:
However, commands are properly working on my dual boot Windows environment.
Is
LogicAppTemplate
module not working on PowerShell Core?Regards,
Grégoire