[GH-ISSUE #77] Error in line 110 #57

Open
opened 2026-02-28 02:14:30 +03:00 by kerem · 1 comment
Owner

Originally created by @SmoothAdmin on GitHub (Oct 30, 2024).
Original GitHub issue: https://github.com/VFrontDe-Org/ESXi-Customizer-PS/issues/77

When running the latest powershell script on Windows yesterday (10.29.2024...when I downloaded and ran it) it says there is an error in line 110 character 5. I figure out what the error was and wanted to share. Link 110 says "Stop-Transcript | Out-Null"; when I look further down in the code (in notepad++) I see at line 159 you have { } around the same command. When I put { } around { Stop-Transcript | Out-Null } and re-ran the powershell script it completed successfully.

Thanks,

Originally created by @SmoothAdmin on GitHub (Oct 30, 2024). Original GitHub issue: https://github.com/VFrontDe-Org/ESXi-Customizer-PS/issues/77 When running the latest powershell script on Windows yesterday (10.29.2024...when I downloaded and ran it) it says there is an error in line 110 character 5. I figure out what the error was and wanted to share. Link 110 says "Stop-Transcript | Out-Null"; when I look further down in the code (in notepad++) I see at line 159 you have { } around the same command. When I put { } around { Stop-Transcript | Out-Null } and re-ran the powershell script it completed successfully. Thanks,
Author
Owner

@virtualex-itv commented on GitHub (Jan 27, 2025):

feel free to submit a PR with the proposed changes so I can review.

<!-- gh-comment-id:2616522989 --> @virtualex-itv commented on GitHub (Jan 27, 2025): feel free to submit a PR with the proposed changes so I can review.
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#57
No description provided.