When trying to deploy SDN via https://learn.microsoft.com/en-us/azure-stack/hci/manage/sdn-express, the HCI OS is required in a vhd format.
When I am trying Convert-WindowsImage Powershell command i get the following error
Windows PowerShell transcript start
Start time: 20210729104831
Username: ASIAPACIFIC\bhardpra
RunAs User: ASIAPACIFIC\bhardpra
Configuration Name:
Machine: WHDGY30OP1 (Microsoft Windows NT 10.0.16299.0)
Host Application: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
Process ID: 21400
PSVersion: 5.1.16299.1146
PSEdition: Desktop
PSCompatibleVersions: 1.0, 2.0, 3.0, 4.0, 5.0, 5.1.16299.1146
BuildVersion: 10.0.16299.1146
CLRVersion: 4.0.30319.42000
WSManStackVersion: 3.0
PSRemotingProtocolVersion: 2.3
SerializationVersion: 1.1.0.1
VERBOSE: Looking for the requested Windows image in the WIM file
VERBOSE:
PS>TerminatingError(Get-WindowsImage): "There is no matching image."
> TerminatingError(Get-WindowsImage): "There is no matching image."
VERBOSE:
Convert-WindowsImage : There is no matching image.
At line:1 char:1
- Convert-WindowsImage -SourcePath 'D:\sources\install.wim' -Edition 3 ...
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
- FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Convert-WindowsImage
Convert-WindowsImage : There is no matching image.
At line:1 char:1
- Convert-WindowsImage -SourcePath 'D:\sources\install.wim' -Edition 3 ...
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
- FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Convert-WindowsImage
VERBOSE: Log folder is “C:\Users\bhardpra\AppData\Local\Temp\Convert-WindowsImage\7a91c124-480c-4279-ab04-7539928dab76”
VERBOSE:
VERBOSE: Closing Windows image...
VERBOSE: Done.
Windows PowerShell transcript end
End time: 20210729104834
If anyone can help me get past this issue it would be great.