vmware / powershell-module-for-vmware-cloud-foundation-password-management

PowerShell Module for VMware Cloud Foundation Password Management
https://vmware.github.io/powershell-module-for-vmware-cloud-foundation-password-management/
BSD 2-Clause "Simplified" License
11 stars 9 forks source link

Unable to load manifest file because of syntax error #196

Closed sowjuec closed 3 months ago

sowjuec commented 3 months ago

Code of Conduct

VMware Cloud Foundation

5.2

PowerShell Version

Windows Powershell 7.3.4

PowerCLI Version

13.1

Module Version

1.8.1001

PowerValidatedSolutions Version

2.10.0

PowerVCF Version

2.4.1

Guest Operating System

Windows Server 2019

Environment Details

na

Description

Unable to load manifest file because of syntax error, extra line and closing bracket at the end causing the issue

Error or Debug Output

The module manifest 'C:\GitDownload\VMware.CloudFoundation.PasswordManagement.psd1' could not be processed because it is not a valid PowerShell module manifest file. Remove the elements that are not permitted: At C:\GitDownload\VMware.CloudFoundation.PasswordManagement.psd1:147 char:1
+ }
+ ~
Unexpected token '}' in expression or statement.

Expected Behavior

Import-Module .\VMware.CloudFoundation.PasswordManagement.psd1 -Force should be successfull

Actual Behavior

Import-Module .\VMware.CloudFoundation.PasswordManagement.psd1 -Force The module manifest 'C:\GitDownload\VMware.CloudFoundation.PasswordManagement.psd1' could not be processed because it is not a valid PowerShell module manifest file. Remove the elements that are not permitted: At C:\GitDownload\VMware.CloudFoundation.PasswordManagement.psd1:147 char:1

Steps to Reproduce

execute the following command Import-Module .\VMware.CloudFoundation.PasswordManagement.psd1 -Force

Log Fragments and Files

No response

Screenshots

No response

References

No response