[GH-ISSUE #26] Error when hit -> ESXi-Customizer-PS.ps1 -help #14

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

Originally created by @sungleong on GitHub (Jul 22, 2020).
Original GitHub issue: https://github.com/VFrontDe-Org/ESXi-Customizer-PS/issues/26

Originally assigned to: @virtualex-itv on GitHub.

Hit error when excuting below statement,

ParserError: C:\Temp\ESXi-Customizer-PS.ps1:175
Line |
175 | … ata-ga-click="(Logged out) Header, go to Features">Features <span cla …
| ~
| The '<' operator is reserved for future use.

I am using PowerShell 7.0.3 under Windows 10Home 64bits

Originally created by @sungleong on GitHub (Jul 22, 2020). Original GitHub issue: https://github.com/VFrontDe-Org/ESXi-Customizer-PS/issues/26 Originally assigned to: @virtualex-itv on GitHub. Hit error when excuting below statement, ParserError: C:\Temp\ESXi-Customizer-PS.ps1:175 Line | 175 | … ata-ga-click="(Logged out) Header, go to Features">Features <span cla … | ~ | The '<' operator is reserved for future use. I am using PowerShell 7.0.3 under Windows 10Home 64bits
kerem 2026-02-28 02:14:15 +03:00
  • closed this issue
  • added the
    wontfix
    label
Author
Owner

@ghost commented on GitHub (Sep 6, 2020):

I have a lot of those

operator & reserved fo future versions

PSVersion 5.1.19041.1
VMware PowerCLI 12.0.0 build 15947286

<!-- gh-comment-id:687770524 --> @ghost commented on GitHub (Sep 6, 2020): I have a lot of those _operator & reserved fo future versions_ PSVersion 5.1.19041.1 VMware PowerCLI 12.0.0 build 15947286
Author
Owner

@virtualex-itv commented on GitHub (Sep 8, 2020):

Doesn't appear to be an issue with the script as I am unable to reproduce this issue.

PS C:\Users\virtualex\Documents> $PSVersionTable.PSVersion

Major  Minor  Patch  PreReleaseLabel BuildLabel
-----  -----  -----  --------------- ----------
7      0      3

PS C:\Users\virtualex\Documents> Get-Module -Name VMware.PowerCLI -ListAvailable | Format-Table -AutoSize


    Directory: C:\Program Files\WindowsPowerShell\Modules

ModuleType Version         PreRelease Name            PSEdition ExportedCommands
---------- -------         ---------- ----            --------- ----------------
Manifest   12.0.0.15947286            VMware.PowerCLI Desk


PS C:\Users\virtualex\Documents> .\ESXi-Customizer-PS.ps1 -help

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

Usage:
  ESXi-Customizer-PS [-help] |  [-izip <bundle> [-update]] [-sip] [-v70|-v67|-v65|-v60|-v55|-v51|-v50]
                                [-ozip] [-pkgDir <dir>[,...]] [-outDir <dir>] [-vft] [-dpt depot1[,...]]
                                [-load vib1[,...]] [-remove vib1[,...]] [-log <file>] [-ipname <name>]
                                [-ipdesc <desc>] [-ipvendor <vendor>] [-nsc] [-test]

Optional parameters:
   -help              : display this help
   -izip <bundle>     : use the VMware Offline bundle <bundle> as input instead of the Online depot
   -update            : only with -izip, updates a local bundle with an ESXi patch from the VMware Online depot,
                        combine this with the matching ESXi version selection switch
   -pzip              : use an Offline patch bundle instead of the Online depot with -update.
   -pkgDir <dir>[,...]: local directories of Offline bundles and/or VIB files to add (if any, no default)
   -ozip              : output an Offline bundle instead of an installation ISO
   -outDir <dir>      : directory to store the customized ISO or Offline bundle (the default is the
                        script directory. If specified the log file will also be moved here.)
   -vft               : connect the V-Front Online depot
   -dpt depot1[,...]  : connect additional Online depots by URL or local Offline bundles by file name
   -load vib1[,...]   : load additional packages from connected depots or Offline bundles
   -remove vib1[,...] : remove named VIB packages from the custom Imageprofile
   -sip               : select an Imageprofile from the current list
                        (default = auto-select latest available standard profile)
   -v70 |
   -v67 | -v65 | -v60 |
   -v55 | -v51 | -v50 : Use only ESXi 7.0/6.7/6.5/6.0/5.5/5.1/5.0 Imageprofiles as input, ignore other versions
   -nsc               : use -NoSignatureCheck with export
   -log <file>        : Use custom log file <file>
   -ipname <name>
   -ipdesc <desc>
   -ipvendor <vendor> : provide a name, description and/or vendor for the customized
                        Imageprofile (the default is derived from the cloned input Imageprofile)
   -test              : skip package download and image build (for testing)
<!-- gh-comment-id:689145255 --> @virtualex-itv commented on GitHub (Sep 8, 2020): Doesn't appear to be an issue with the script as I am unable to reproduce this issue. ``` PS C:\Users\virtualex\Documents> $PSVersionTable.PSVersion Major Minor Patch PreReleaseLabel BuildLabel ----- ----- ----- --------------- ---------- 7 0 3 PS C:\Users\virtualex\Documents> Get-Module -Name VMware.PowerCLI -ListAvailable | Format-Table -AutoSize Directory: C:\Program Files\WindowsPowerShell\Modules ModuleType Version PreRelease Name PSEdition ExportedCommands ---------- ------- ---------- ---- --------- ---------------- Manifest 12.0.0.15947286 VMware.PowerCLI Desk PS C:\Users\virtualex\Documents> .\ESXi-Customizer-PS.ps1 -help This is ESXi-Customizer-PS Version 2.8.1 (visit https://ESXi-Customizer-PS.v-front.de for more information!) Usage: ESXi-Customizer-PS [-help] | [-izip <bundle> [-update]] [-sip] [-v70|-v67|-v65|-v60|-v55|-v51|-v50] [-ozip] [-pkgDir <dir>[,...]] [-outDir <dir>] [-vft] [-dpt depot1[,...]] [-load vib1[,...]] [-remove vib1[,...]] [-log <file>] [-ipname <name>] [-ipdesc <desc>] [-ipvendor <vendor>] [-nsc] [-test] Optional parameters: -help : display this help -izip <bundle> : use the VMware Offline bundle <bundle> as input instead of the Online depot -update : only with -izip, updates a local bundle with an ESXi patch from the VMware Online depot, combine this with the matching ESXi version selection switch -pzip : use an Offline patch bundle instead of the Online depot with -update. -pkgDir <dir>[,...]: local directories of Offline bundles and/or VIB files to add (if any, no default) -ozip : output an Offline bundle instead of an installation ISO -outDir <dir> : directory to store the customized ISO or Offline bundle (the default is the script directory. If specified the log file will also be moved here.) -vft : connect the V-Front Online depot -dpt depot1[,...] : connect additional Online depots by URL or local Offline bundles by file name -load vib1[,...] : load additional packages from connected depots or Offline bundles -remove vib1[,...] : remove named VIB packages from the custom Imageprofile -sip : select an Imageprofile from the current list (default = auto-select latest available standard profile) -v70 | -v67 | -v65 | -v60 | -v55 | -v51 | -v50 : Use only ESXi 7.0/6.7/6.5/6.0/5.5/5.1/5.0 Imageprofiles as input, ignore other versions -nsc : use -NoSignatureCheck with export -log <file> : Use custom log file <file> -ipname <name> -ipdesc <desc> -ipvendor <vendor> : provide a name, description and/or vendor for the customized Imageprofile (the default is derived from the cloned input Imageprofile) -test : skip package download and image build (for testing) ```
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#14
No description provided.