mirror of
https://github.com/VFrontDe-Org/ESXi-Customizer-PS.git
synced 2026-04-25 23:46:02 +03:00
[GH-ISSUE #33] Latest Script 2.8.1 causes errors on win 10 2004 (Powershell 5.1) #18
Labels
No labels
bug
duplicate
duplicate
enhancement
fix in-progress
invalid
need more info
pull-request
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ESXi-Customizer-PS#18
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @chrissi55 on GitHub (Oct 11, 2020).
Original GitHub issue: https://github.com/VFrontDe-Org/ESXi-Customizer-PS/issues/33
With the latest script version 2.8.1 i get the following errors when running the ESXi-Customizer-PS.ps1
"In C:\TEMP\ESXi-Customizer-PS.ps1:152 Zeichen:21
Sign up
~
Das kaufmännische Und-Zeichen (&) ist nicht zulässig. Der &-Operator ist für eine zukünftige Verwendung reserviert.
Verwenden Sie das kaufmännische Und-Zeichen in doppelten Anführungszeichen ("&"), um es als Teil einer Zeichenfolge zu
übergeben.
In C:\TEMP\ESXi-Customizer-PS.ps1:179 Zeichen:190
... ata-ga-click="(Logged out) Header, go to Features">Features <span cla ...
~
Der Operator "<" ist für zukünftige Versionen reserviert.
In C:\TEMP\ESXi-Customizer-PS.ps1:179 Zeichen:261
......."
further errors see screenshot
https://www.bilder-upload.eu/bild-398361-1602395363.png.html
I have installed the latest version of vmware powercli (12.x)
using this explanation: https://docs.vmware.com/de/VMware-vSphere/7.0/com.vmware.esxi.install.doc/GUID-F02D0C2D-B226-4908-9E5C-2E783D41FE2D.html
@chrissi55 commented on GitHub (Oct 18, 2020):
Tried with the Powershell 7.0.3 (pwsh)
Here the Errors are different:
Run only scripts that you trust. While scripts from the internet can be useful, this script can potentially harm your
computer. If you trust this script, use the Unblock-File cmdlet to allow the script to run without this warning
message. Do you want to run C:\TEMP\ESXi-Customizer-PS.ps1?
[D] Do not run [R] Run once [S] Suspend [?] Help (default is "D"): r
ParserError: C:\TEMP\ESXi-Customizer-PS.ps1:157
Line |
157 | … etails px-3 px-md-4 px-lg-5 flex-wrap flex-md-nowrap" role="banner" >
| ~
| Missing file specification after redirection operator.
PS C:\TEMP> ./ESXi-Customizer-PS.ps1
ParserError: C:\TEMP\ESXi-Customizer-PS.ps1:352
Line |
352 | <svg class="octicon octicon-sign-out v-align-middle" viewBox= …
| ~~~~~~~
| Unexpected token 'octicon' in expression or statement.
https://www.bilder-upload.eu/bild-4fc08a-1603011142.png.html
Can please anybody confirm, that the script is broken for the moment!?
@meilon commented on GitHub (Dec 7, 2020):
I just successfully built an ISO from an HPE offline bundle and including updates for vSphere 7.0.
Are you sure the script downloaded successfully? It looks like there is some HTML code in your local version, which there is none in the script originally (escaped or otherwise). From the screenshot it looks like you downloaded the whole page and not the script itself. Use the file from the releases or the raw file.
@chrissi55 commented on GitHub (Dec 21, 2020):
Downloading the script again didn't help. But taking the raw file and building a ps1 script helped to get the script running, Thanks.
But now when using following command i get warnings:
Booting from that image does lead into install errors because the sata-xahci driver could not be loaded properly.
How can i get rid of those errors?
@meilon commented on GitHub (Dec 21, 2020):
Sorry, can't really help with that, but a quick google search brought me to this: https://anthonyspiteri.net/datastore-esxi7-upgrade-supermicro/
Maybe you don't need the community module anymore? It seems there is no sata-ahci any more in 7.0 and you should use vmw_ahci instead
@virtualex-itv commented on GitHub (Jan 5, 2021):
unfortunately, you cannot add the
sata-xahcidriver tov70. it is only supported onv55& possiblyv60but @VFrontDe can confirm that best.