[GH-ISSUE #14] Cannot convert length string (scriptio) to a number #6

Closed
opened 2026-02-28 02:14:11 +03:00 by kerem · 2 comments
Owner

Originally created by @amit-nz on GitHub (Apr 26, 2020).
Original GitHub issue: https://github.com/VFrontDe-Org/ESXi-Customizer-PS/issues/14

Just trying to add some fusionIO .vibs into an ESXi 6.5 image.

I just ran the script without any parameters, (v2.8.0 downloaded from github) and this is what I get.

Environment is a Server 2012 R2 (fully patched) along with vSphere PowerCLI 5.5

The log file:

**********************
Windows PowerShell transcript start
Start time: 20200426135003
Username: mydomain\steve
RunAs User: mydomain\steve
Machine: VC01 (Microsoft Windows NT 6.3.9600.0)
Host Application: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
Process ID: 7140
**********************

Running with PowerShell version 4.0 and VMware vSphere PowerCLI 5.5 Release 1 build 1295336

Connecting the VMware ESXi Software depot ...

PS>TerminatingError(Add-EsxSoftwareDepot): "Cannot convert length string (scriptio) to a number"


An unexpected error occurred:
Cannot convert length string (scriptio) to a number

If requesting support please be sure to include the log file
   C:\Users\APA~1.CLI\AppData\Local\Temp\3\ESXi-Customizer-PS-7140.log
**********************
Windows PowerShell transcript end
End time: 20200426135003
**********************

Any help appreciated

Originally created by @amit-nz on GitHub (Apr 26, 2020). Original GitHub issue: https://github.com/VFrontDe-Org/ESXi-Customizer-PS/issues/14 Just trying to add some fusionIO .vibs into an ESXi 6.5 image. I just ran the script without any parameters, (v2.8.0 downloaded from github) and this is what I get. Environment is a Server 2012 R2 (fully patched) along with vSphere PowerCLI 5.5 The log file: ``` ********************** Windows PowerShell transcript start Start time: 20200426135003 Username: mydomain\steve RunAs User: mydomain\steve Machine: VC01 (Microsoft Windows NT 6.3.9600.0) Host Application: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe Process ID: 7140 ********************** Running with PowerShell version 4.0 and VMware vSphere PowerCLI 5.5 Release 1 build 1295336 Connecting the VMware ESXi Software depot ... PS>TerminatingError(Add-EsxSoftwareDepot): "Cannot convert length string (scriptio) to a number" An unexpected error occurred: Cannot convert length string (scriptio) to a number If requesting support please be sure to include the log file C:\Users\APA~1.CLI\AppData\Local\Temp\3\ESXi-Customizer-PS-7140.log ********************** Windows PowerShell transcript end End time: 20200426135003 ********************** ``` Any help appreciated
kerem 2026-02-28 02:14:11 +03:00
Author
Owner

@VFrontDe commented on GitHub (Jul 11, 2020):

This is probably due to incompatibility with the Powershell or PowerCLI version.
Please uninstall PowerCLI 5.5 and install a recent version of PowerCLI using the PowerShell-Cmdliet Install-Module.

<!-- gh-comment-id:657012071 --> @VFrontDe commented on GitHub (Jul 11, 2020): This is probably due to incompatibility with the Powershell or PowerCLI version. Please uninstall PowerCLI 5.5 and install a recent version of PowerCLI using the PowerShell-Cmdliet Install-Module.
Author
Owner

@virtualex-itv commented on GitHub (Jul 13, 2020):

@amitfocis any updates as per the recommendation above? Please let us know...

<!-- gh-comment-id:657754543 --> @virtualex-itv commented on GitHub (Jul 13, 2020): @amitfocis any updates as per the recommendation above? Please let us know...
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ESXi-Customizer-PS#6
No description provided.