Complete the code to start a new module manifest with the correct command.
New-ModuleManifest -Path "MyModule.psd1" -RootModule [1]
The -RootModule parameter should point to the main module file, which usually has the extension .psm1.
Complete the code to specify the module version in the manifest.
@{
ModuleVersion = '[1]'
}The ModuleVersion should be a string with a numeric version format like 1.0.
Fix the error in the manifest snippet by completing the key name correctly.
@{
[1] = 'MyModule'
}The correct key for the module name in a manifest is ModuleName.
Fill both blanks to define the author and description in the manifest.
@{
Author = '[1]'
Description = '[2]'
}The Author is usually a person's name, and Description is a short text about the module.
Fill all three blanks to create a hashtable with required fields: RootModule, ModuleVersion, and GUID.
@{
RootModule = '[1]'
ModuleVersion = '[2]'
GUID = '[3]'
}The RootModule points to the main script file, ModuleVersion is the version string, and GUID is a unique identifier in standard format.