danielsollondon / azvmimagebuilder

Azure VM Image Builder
180 stars 153 forks source link

When trying to build the image error The term 'Start-AzImageBuilderTemplate' is not recognized #120

Closed saleemahmad2 closed 10 months ago

saleemahmad2 commented 2 years ago

After issuing this command Start-AzImageBuilderTemplate -ResourceGroupName $imageResourceGroup -Name $imageTemplateName -NoWait I get the error as below: Start-AzImageBuilderTemplate: The term 'Start-AzImageBuilderTemplate' is not recognized as a name of a cmdlet, function, script file, or executable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

I am using PowerShell Version 7.1.5 on Windows 10. What do I need to get this Start-AzImageBuilderTemplate command and what version do we need? This is the last step in building the image, any help would be most appreciated. Saleem

HenryGelderbloem commented 2 years ago

You need install the AzImageBuilderTemplate PowerShell module

Install-Module -Name Az.ImageBuilder

danielsollondon commented 10 months ago

thank you @HenryGelderbloem!

If you need any more assist, please raise in the new repo.