Hi, I want to use Ubuntu MAAS to deploy windows server 2012 on some of my bare metal nodes. Therefore I followed: http://wiki.cloudbase.it/maas to build the windows server 2012 standard image. But I got error when executing this step: ".\BuildInstallImage.ps1 -InstallMediaPath F:". Error messages are listed below:
PS C:\Users\Administrator\adk-tools-maas> .\BuildInstallImage.ps1 -InstallMediaPath F:
Get-WimFileImagesInfo : The term 'Get-WimFileImagesInfo' 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. At C:\Users\Administrator\adk-tools-maas\BuildInstallImage.ps1:64 char:11 + $images = Get-WimFileImagesInfo $installWimPath + ~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (Get-WimFileImagesInfo:String) [], ParentC ontainsErrorRecordException + FullyQualifiedErrorId : CommandNotFoundException
PS C:\Users\Administrator\adk-tools-maas>
I checked the script, there is a function named "Get-WimFileImagesInfo" exists in WimFileInfo.ps1. I have no idea what causes such an error. Did I miss anything? Or is there any software I need to install first?
Thank you, Jeff