mirror of
https://github.com/VFrontDe-Org/ESXi-Customizer-PS.git
synced 2026-04-25 23:46:02 +03:00
[GH-ISSUE #40] The ampersand (&) character is not allowed #24
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#24
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 @johnkristian on GitHub (May 16, 2021).
Original GitHub issue: https://github.com/VFrontDe-Org/ESXi-Customizer-PS/issues/40
When I try to run the script, I get this:
`PS C:\00\01.esxi\areca> .\ESXi-Customizer-PS.ps1
Security warning
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:\00\01.esxi\areca\ESXi-Customizer-PS.ps1?
[D] Do not run [R] Run once [S] Suspend [?] Help (default is "D"): r
At C:\00\01.esxi\areca\ESXi-Customizer-PS.ps1:185 char:23
The ampersand (&) character is not allowed. The & operator is reserved for future use; wrap an ampersand in double quot
ation marks ("&") to pass it as part of a string.
At C:\00\01.esxi\areca\ESXi-Customizer-PS.ps1:213 char:189
The '<' operator is reserved for future use.
At C:\00\01.esxi\areca\ESXi-Customizer-PS.ps1:213 char:269
The ampersand (&) character is not allowed. The & operator is reserved for future use; wrap an ampersand in double quot
ation marks ("&") to pass it as part of a string.
At C:\00\01.esxi\areca\ESXi-Customizer-PS.ps1:215 char:165
The '<' operator is reserved for future use.
At C:\00\01.esxi\areca\ESXi-Customizer-PS.ps1:215 char:245
The ampersand (&) character is not allowed. The & operator is reserved for future use; wrap an ampersand in double quot
ation marks ("&") to pass it as part of a string.
At C:\00\01.esxi\areca\ESXi-Customizer-PS.ps1:216 char:176
The '<' operator is reserved for future use.
At C:\00\01.esxi\areca\ESXi-Customizer-PS.ps1:216 char:256
The ampersand (&) character is not allowed. The & operator is reserved for future use; wrap an ampersand in double quot
ation marks ("&") to pass it as part of a string.
At C:\00\01.esxi\areca\ESXi-Customizer-PS.ps1:217 char:182
The '<' operator is reserved for future use.
At C:\00\01.esxi\areca\ESXi-Customizer-PS.ps1:217 char:262
The ampersand (&) character is not allowed. The & operator is reserved for future use; wrap an ampersand in double quot
ation marks ("&") to pass it as part of a string.
At C:\00\01.esxi\areca\ESXi-Customizer-PS.ps1:218 char:178
The '<' operator is reserved for future use.
Not all parse errors were reported. Correct the reported errors and try again.
+ CategoryInfo : ParserError: (:) [], ParseException
+ FullyQualifiedErrorId : AmpersandNotAllowed
PS C:\00\01.esxi\areca>`
@virtualex-itv commented on GitHub (Aug 10, 2022):
this doesn't seem right, nor can I reproduce this. Are you running powercli in PowerShell as an administrator? Also, have you modified the PowerShell execution policy?