---
title: "Comment by Ľuboš Nikolíni on \"Import new (or update existing) PowerShell module (including its dependencies!) into Azure Automation Account using PowerShell\" | Hashnode"
description: "Hello Ondrej, when trying your New-AzureAutomationModule example, I am getting the following error: New-PSGetItemInfo : Cannot convert value \"2.0.0-rc3\" to type"
url: "https://hashnode.com/posts/import-new-or-update-existing-powershell-module-including-its-dependencies-into-azure-automation-account-using-powershell/65afddd7c2dd0c6f6b7cf2e9/comment/65b13658e8bbe6e6b8eb3a5d"
---

[Discussion](https://hashnode.com/posts/import-new-or-update-existing-powershell-module-including-its-dependencies-into-azure-automation-account-using-powershell/65afddd7c2dd0c6f6b7cf2e9)

Comment [Import new (or update existing) PowerShell module (including its dependencies!) into Azure Automation Account using PowerShell](https://hashnode.com/posts/import-new-or-update-existing-powershell-module-including-its-dependencies-into-azure-automation-account-using-powershell/65afddd7c2dd0c6f6b7cf2e9)

[Ľuboš Nikolíni](https://hashnode.com/@najki)

[Jan 24, 2024](https://hashnode.com/posts/import-new-or-update-existing-powershell-module-including-its-dependencies-into-azure-automation-account-using-powershell/65afddd7c2dd0c6f6b7cf2e9/comment/65b13658e8bbe6e6b8eb3a5d)

Hello Ondrej, when trying your New-AzureAutomationModule example, I am getting the following error:

New-PSGetItemInfo : Cannot convert value "2.0.0-rc3" to type "System.Version". Error: "Input string was not in a correct format."

[Ondrej Sebela](https://hashnode.com/@AndrewZtrhgf)

[Jan 25, 2024](https://hashnode.com/posts/import-new-or-update-existing-powershell-module-including-its-dependencies-into-azure-automation-account-using-powershell/65afddd7c2dd0c6f6b7cf2e9/comment/65b13658e8bbe6e6b8eb3a5d#reply-65b21ca129e57688ef39b85a)

should be fixed in new 1.0.1 module version

[Ľuboš Nikolíni](https://hashnode.com/@najki)

[Jan 25, 2024](https://hashnode.com/posts/import-new-or-update-existing-powershell-module-including-its-dependencies-into-azure-automation-account-using-powershell/65afddd7c2dd0c6f6b7cf2e9/comment/65b13658e8bbe6e6b8eb3a5d#reply-65b22af1739e9d3c7e8ea7b6)

[Ondrej Sebela](https://hashnode.com/@AndrewZtrhgf) Ahoj Ondreji, I have just tried after updating to 1.0.1 and updating PowerShellGet module locally and it works nicely! Dekuji!

[Ondrej Sebela](https://hashnode.com/@AndrewZtrhgf)

[Jan 25, 2024](https://hashnode.com/posts/import-new-or-update-existing-powershell-module-including-its-dependencies-into-azure-automation-account-using-powershell/65afddd7c2dd0c6f6b7cf2e9/comment/65b13658e8bbe6e6b8eb3a5d#reply-65b22df0431e7707808f98fa)

[Ľuboš Nikolíni](https://hashnode.com/@najki) Super, diky :)
