Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ParseError: PowerManagement-ManagementDomain.ps1:163 Missing closing '}' in statement block or type definition #113

Open
3 of 4 tasks
goodnowm opened this issue Oct 20, 2024 · 0 comments
Labels
bug Bug needs-triage Needs Triage pending-review Pending Review

Comments

@goodnowm
Copy link

Code of Conduct

  • I have read and agree to the Code of Conduct.
  • Vote on this issue by adding a 👍 reaction to the original issue initial description to help the maintainers prioritize.
  • Do not leave "+1" or other comments that do not add relevant information or questions.
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment.

VMware Cloud Foundation

5.1.1

PowerShell Version

Windows Powershell 7.4

PowerCLI Version

13.3.0.24145081

Module Version

1.5.0.1000

PowerVCF Version

2.4.1.1000

Guest Operating System

Windows Server 2019

Environment Details

vanilla holodeck 5.1.1 deployment

Description

Running the PowerManagement-ManagementDomain.psi script results in a PowerShell ParserError

Lines 461 and 747 contain { and are duplicate lines causing brackets to mismatch
Lines 741 and 744 also appear to be unnecessary duplicate lines

Error or Debug Output

https://gist.github.com/goodnowm/2f3f143fef8ef186633e7077846a2f11

Expected Behavior

Shutdown the management domain

Actual Behavior

PowerShell ParserError

Steps to Reproduce

Using step 6 from the Usage documentation results in a PowerShell ParserError

Log Fragments and Files

No response

Screenshots

image

References

No response

@goodnowm goodnowm added bug Bug needs-triage Needs Triage labels Oct 20, 2024
@github-actions github-actions bot added the pending-review Pending Review label Oct 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug needs-triage Needs Triage pending-review Pending Review
Projects
None yet
Development

No branches or pull requests

1 participant