Code of Conduct
VMware Cloud Foundation
9.1.0.0
PowerShell Version
7.6.3
PowerCLI Version
9.0.0.24798382
Module Version
??
Guest Operating System
Window Server 2022
Environment Details
No response
Description
When attempting to create a new VMware Cloud Foundation 9 environment, after entering the VCF Operations FQDN, username and password and then clicking authenticate I observed the following error:
Discovery failed (exit 1): ERROR: Failed to load VcfPatchScan module: The specified module 'C:\Users\Administrator\VcfPatchScan\VcfPatchScan.psd1' was not loaded because no valid module file was found in any module directory.
After manually copying VcfPatchScan.psd1 to the root if the folder created by the Initialize-VcfPatchScan cmdlet I was able to proceed.
It then threw the following error:
Discovery failed (exit 1): ERROR: Failed to load VcfPatchScan module: The module to process 'VcfPatchScan.psm1', listed in field 'ModuleToProcess/RootModule' of module manifest 'C:\Users\Administrator\VcfPatchScan\VcfPatchScan.psd1' was not processed because no valid module was found in any module directory.
Add Environment
So I manually copied the VcfPatchScan.psm1 file over too.
Maybe this is due to the way I deployed where I did not install the module
Error or Debug Output
Discovery failed (exit 1): ERROR: Failed to load VcfPatchScan module: The specified module 'C:\Users\Administrator\VcfPatchScan\VcfPatchScan.psd1' was not loaded because no valid module file was found in any module directory.
Expected Behavior
n/a
Actual Behavior
n/a
Steps to Reproduce
n/a
Log Fragments and Files
No response
Screenshots
No response
References
No response
Code of Conduct
VMware Cloud Foundation
9.1.0.0
PowerShell Version
7.6.3
PowerCLI Version
9.0.0.24798382
Module Version
??
Guest Operating System
Window Server 2022
Environment Details
No response
Description
When attempting to create a new
VMware Cloud Foundation 9environment, after entering the VCF Operations FQDN, username and password and then clicking authenticate I observed the following error:Discovery failed (exit 1): ERROR: Failed to load VcfPatchScan module: The specified module 'C:\Users\Administrator\VcfPatchScan\VcfPatchScan.psd1' was not loaded because no valid module file was found in any module directory.After manually copying
VcfPatchScan.psd1to the root if the folder created by theInitialize-VcfPatchScancmdlet I was able to proceed.It then threw the following error:
Discovery failed (exit 1): ERROR: Failed to load VcfPatchScan module: The module to process 'VcfPatchScan.psm1', listed in field 'ModuleToProcess/RootModule' of module manifest 'C:\Users\Administrator\VcfPatchScan\VcfPatchScan.psd1' was not processed because no valid module was found in any module directory.
Add Environment
So I manually copied the
VcfPatchScan.psm1file over too.Maybe this is due to the way I deployed where I did not install the module
Error or Debug Output
Discovery failed (exit 1): ERROR: Failed to load VcfPatchScan module: The specified module 'C:\Users\Administrator\VcfPatchScan\VcfPatchScan.psd1' was not loaded because no valid module file was found in any module directory.
Expected Behavior
n/a
Actual Behavior
n/a
Steps to Reproduce
n/a
Log Fragments and Files
No response
Screenshots
No response
References
No response