[GH-ISSUE #37] Error when exporting imageprofile. #19

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

Originally created by @vicdcoder on GitHub (Feb 9, 2021).
Original GitHub issue: https://github.com/VFrontDe-Org/ESXi-Customizer-PS/issues/37

.\ESXi-Customizer-PS-2.8.1.ps1 -nsc -v67 -pkgDir C:\Inhere2\

This is ESXi-Customizer-PS Version 2.8.1 (visit https://ESXi-Customizer-PS.v-front.de for more information!)
(Call with -help for instructions)

Logging to C:\Users------
ESXi-Customizer-PS-132.log
AppData\Local\Temp\ESXi-Customizer-PS-132.log ...

Running with PowerShell version 5.1 and VMware PowerCLI version .. build

Connecting the VMware ESXi Software depot ... [OK]

Getting Imageprofiles, please wait ... [OK]

Using Imageprofile ESXi-6.7.0-20201104001-standard ...
(Dated 11/11/2020 12:40:19, AcceptanceLevel: PartnerSupported,
Updates ESXi 6.7 Image Profile-ESXi-6.7.0-20201104001-standard)

Loading Offline bundles and VIB files from C:\Inhere2\ ...
Loading C:\Inhere2\net55-r8168-8.045a-napi.x86_64.vib ... [OK]
Add VIB net55-r8168 8.045a-napi [New AcceptanceLevel: CommunitySupported] [OK, added]

Exporting the Imageprofile to 'C:\Users-----\Documents\WindowsPowerShell\Modules\VMware.PowerCLI\12.2.0.17538434\ESXi-6.7.0-20201104001-standard-customized.iso'. Please be patient ...

An unexpected error occurred:
At line:1 char:238

  • ... i-6.7.0-20201104001-standard-customized.iso' -NoSignatureCheck -Force
  •                                            ~~~~~~~~~~~~~~~~~~~~~~~~~~
    

The string is missing the terminator: '.

If requesting support please be sure to include the log file
C:\Users------\AppData\Local\Temp\ESXi-Customizer-PS-132.log

Originally created by @vicdcoder on GitHub (Feb 9, 2021). Original GitHub issue: https://github.com/VFrontDe-Org/ESXi-Customizer-PS/issues/37 .\ESXi-Customizer-PS-2.8.1.ps1 -nsc -v67 -pkgDir C:\Inhere2\ This is ESXi-Customizer-PS Version 2.8.1 (visit https://ESXi-Customizer-PS.v-front.de for more information!) (Call with -help for instructions) Logging to C:\Users\------\ [ESXi-Customizer-PS-132.log](https://github.com/VFrontDe/ESXi-Customizer-PS/files/5953598/ESXi-Customizer-PS-132.log) AppData\Local\Temp\ESXi-Customizer-PS-132.log ... Running with PowerShell version 5.1 and VMware PowerCLI version .. build Connecting the VMware ESXi Software depot ... [OK] Getting Imageprofiles, please wait ... [OK] Using Imageprofile ESXi-6.7.0-20201104001-standard ... (Dated 11/11/2020 12:40:19, AcceptanceLevel: PartnerSupported, Updates ESXi 6.7 Image Profile-ESXi-6.7.0-20201104001-standard) Loading Offline bundles and VIB files from C:\Inhere2\ ... Loading C:\Inhere2\net55-r8168-8.045a-napi.x86_64.vib ... [OK] Add VIB net55-r8168 8.045a-napi [New AcceptanceLevel: CommunitySupported] [OK, added] Exporting the Imageprofile to 'C:\Users\-----\Documents\WindowsPowerShell\Modules\VMware.PowerCLI\12.2.0.17538434\ESXi-6.7.0-20201104001-standard-customized.iso'. Please be patient ... An unexpected error occurred: At line:1 char:238 + ... i-6.7.0-20201104001-standard-customized.iso' -NoSignatureCheck -Force + ~~~~~~~~~~~~~~~~~~~~~~~~~~ The string is missing the terminator: '. If requesting support please be sure to include the log file C:\Users\------\AppData\Local\Temp\ESXi-Customizer-PS-132.log
kerem closed this issue 2026-02-28 02:14:17 +03:00
Author
Owner

@VFrontDe commented on GitHub (Feb 10, 2021):

It looks like you masked parts of your user's directory name (with "-----"). Are there any special characters in that masked part, maybe even a single quote (')? That would explain the error message.

<!-- gh-comment-id:776655830 --> @VFrontDe commented on GitHub (Feb 10, 2021): It looks like you masked parts of your user's directory name (with "-----"). Are there any special characters in that masked part, maybe even a single quote (')? That would explain the error message.
Author
Owner

@vicdcoder commented on GitHub (Feb 10, 2021):

Hi Andreas,

Ah yes! The user account has a (‘) in the name so I will test with another
user account without special charters and revert.

But this most likely is the issue.

On Wed, 10 Feb 2021 at 13:53, Andreas Peetz notifications@github.com
wrote:

It looks like you masked parts of your user's directory name (with
"-----"). Are there any special characters in that masked part, maybe even
a single quote (')? That would explain the error message.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/VFrontDe/ESXi-Customizer-PS/issues/37#issuecomment-776655830,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQ4SWB47FK6P7HXLEBGAP6TS6JXULANCNFSM4XLQYKVA
.

--
Kind regards,

Victor Abiola Abe
Senior Network Engineer
Phy.Elect.[FUTA],M.Eng Telecoms[UCT], CCNP[R&S,SP],NSE4, CCNA[SEC,CyberSec].

<!-- gh-comment-id:776724961 --> @vicdcoder commented on GitHub (Feb 10, 2021): Hi Andreas, Ah yes! The user account has a (‘) in the name so I will test with another user account without special charters and revert. But this most likely is the issue. On Wed, 10 Feb 2021 at 13:53, Andreas Peetz <notifications@github.com> wrote: > It looks like you masked parts of your user's directory name (with > "-----"). Are there any special characters in that masked part, maybe even > a single quote (')? That would explain the error message. > > — > You are receiving this because you authored the thread. > Reply to this email directly, view it on GitHub > <https://github.com/VFrontDe/ESXi-Customizer-PS/issues/37#issuecomment-776655830>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/AQ4SWB47FK6P7HXLEBGAP6TS6JXULANCNFSM4XLQYKVA> > . > -- Kind regards, Victor Abiola Abe Senior Network Engineer Phy.Elect.[FUTA],M.Eng Telecoms[UCT], CCNP[R&S,SP],NSE4, CCNA[SEC,CyberSec].
Author
Owner

@vicdcoder commented on GitHub (Feb 12, 2021):

Issue was because my windows username had a (') in it.

<!-- gh-comment-id:778393948 --> @vicdcoder commented on GitHub (Feb 12, 2021): Issue was because my windows username had a (') in it.
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#19
No description provided.