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

PowerShell: Measure File Copying Time

The scripty: $sourcesAndDestinations=@("C:\Users\kimconnect\Desktop\test\test1 C:\Users\kimconnect\Desktop\test\test2","C:\Users\kimconnect\Desktop\test\test2 C:\Users\kimconnect\Desktop\test\test3")$testPath="C:\Users\kimconnect\Desktop\test\test1"$switchesMirrorDirectories="/MIR /SEC /W:3 /FFT "$dateStamp = Get-Date -Format "yyyy-MM-dd-hh-mm"$currentPath=(Get-Item -Path ".\").FullName$log="/LOG+:$currentPath\robocopy-log-$dateStamp.txt"function…

Upgrade Virtual Hardware Version in VMM

The following script will upgrade all guest virtual machines from a lower version to the…

PowerShell: HashMap Enumeration Example – Set Active-X on Internet Explorer

function allowActiveX($zone='Trusted'){ #Source: https://learn.microsoft.com/en-us/previous-versions/troubleshoot/browsers/security-privacy/ie-security-zones-registry-entries #Reference table: #Value Setting #------------------------------ #0 My Computer #1 Local Intranet…