Posted On October 5, 2022

Virtual Machine Manager Error ID 23351 FirstBootDevice Invalid

kimconnect 0 comments
blog.KimConnect.com >> Codes , Virtualization >> Virtual Machine Manager Error ID 23351 FirstBootDevice Invalid

When moving, importing, exporting Generation 2 template in VMM, the following error occurs when trying to deploy :

The input string "
" for the FirstBootDevice parameter cannot be parsed and may be invalid.
Make sure the string uses one of the following formats: "SCSI,BusId(integer),LunId(integer)" or "NIC,SlotId(integer)"
ID: 23351

Here’s a quick Fix:

Set-SCVMTemplate -Name 'TEMPLATENAME' -FirstBootDevice 'SCSI,0,0'

Better yet, it’s advisable to include the cmdlet above into the importing function of VM templates. A Try-Catch clause with error 23351 keyword could be coded to handle these exceptions during VM provisioning automations.

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

Resolving Guest Virtual Machine Critical Status in Hyper-V Manager

Part A: Validating problem as VM in Critical Status # Check VM Status in Hyper-V…

PowerShell: How To Append to Windows Environmental Paths Permanently

Often, when we install applications such as Python, its bin directory may not automatically be…

Basic JavaScript: Escaping Literal Quotes in Strings

var myStr = "Yo Mama said, \"have some cookies\"";
Other project: DragonCoin.com