diff --git a/src/System.Management.Automation/engine/Modules/NewModuleManifestCommand.cs b/src/System.Management.Automation/engine/Modules/NewModuleManifestCommand.cs
index b0e1267973e..05330b7f9dc 100644
--- a/src/System.Management.Automation/engine/Modules/NewModuleManifestCommand.cs
+++ b/src/System.Management.Automation/engine/Modules/NewModuleManifestCommand.cs
@@ -30,7 +30,7 @@ namespace Microsoft.PowerShell.Commands
public sealed class NewModuleManifestCommand : PSCmdlet
{
///
- /// The output path for the generated file...
+ /// Gets or sets the output path for the generated file.
///
[Parameter(Mandatory = true, Position = 0)]
public string Path
@@ -43,7 +43,7 @@ public string Path
private string _path;
///
- /// Sets the list of files to load by default...
+ /// Gets or sets the list of files to load by default.
///
[Parameter]
[AllowEmptyCollection]
@@ -58,7 +58,7 @@ public object[] NestedModules
private object[] _nestedModules;
///
- /// Set the GUID in the manifest file.
+ /// Gets or sets the GUID in the manifest file.
///
[Parameter]
public Guid Guid
@@ -71,7 +71,7 @@ public Guid Guid
private Guid _guid = Guid.NewGuid();
///
- /// Set the author string in the manifest.
+ /// Gets or sets the author string in the manifest.
///
[Parameter]
[AllowEmptyString]
@@ -85,7 +85,7 @@ public string Author
private string _author;
///
- /// Set the company name in the manifest.
+ /// Gets or sets the company name in the manifest.
///
[Parameter]
[AllowEmptyString]
@@ -99,7 +99,7 @@ public string CompanyName
private string _companyName = string.Empty;
///
- /// Set the copyright string in the module manifest.
+ /// Gets or sets the copyright string in the module manifest.
///
[Parameter]
[AllowEmptyString]
@@ -113,7 +113,7 @@ public string Copyright
private string _copyright;
///
- /// Set the module version...
+ /// Gets or sets the root module.
///
[Parameter]
[AllowEmptyString]
@@ -128,7 +128,7 @@ public string RootModule
private string _rootModule = null;
///
- /// Set the module version...
+ /// Gets or sets the module version.
///
[Parameter]
[ValidateNotNull]
@@ -142,7 +142,7 @@ public Version ModuleVersion
private Version _moduleVersion = new Version(0, 0, 1);
///
- /// Set the module description.
+ /// Gets or sets the module description.
///
[Parameter]
[AllowEmptyString]
@@ -156,7 +156,7 @@ public string Description
private string _description;
///
- /// Set the ProcessorArchitecture required by this module.
+ /// Gets or sets the ProcessorArchitecture required by this module.
///
[Parameter]
public ProcessorArchitecture ProcessorArchitecture
@@ -169,7 +169,7 @@ public ProcessorArchitecture ProcessorArchitecture
private ProcessorArchitecture? _processorArchitecture = null;
///
- /// Set the PowerShell version required by this module.
+ /// Gets or sets the PowerShell version required by this module.
///
[Parameter]
public Version PowerShellVersion
@@ -182,10 +182,10 @@ public Version PowerShellVersion
private Version _powerShellVersion = null;
///
- /// Set the CLR version required by the module.
+ /// Gets or sets the CLR version required by the module.
///
[Parameter]
- public Version ClrVersion
+ public Version CLRVersion
{
get { return _ClrVersion; }
@@ -195,7 +195,7 @@ public Version ClrVersion
private Version _ClrVersion = null;
///
- /// Set the version of .NET Framework required by the module.
+ /// Gets or sets the version of .NET Framework required by the module.
///
[Parameter]
public Version DotNetFrameworkVersion
@@ -208,7 +208,7 @@ public Version DotNetFrameworkVersion
private Version _DotNetFrameworkVersion = null;
///
- /// Set the name of PowerShell host required by the module.
+ /// Gets or sets the name of PowerShell host required by the module.
///
[Parameter]
public string PowerShellHostName
@@ -221,7 +221,7 @@ public string PowerShellHostName
private string _PowerShellHostName = null;
///
- /// Set the version of PowerShell host required by the module.
+ /// Gets or sets the version of PowerShell host required by the module.
///
[Parameter]
public Version PowerShellHostVersion
@@ -234,7 +234,7 @@ public Version PowerShellHostVersion
private Version _PowerShellHostVersion = null;
///
- /// Sets the list of Dependencies for the module.
+ /// Gets or sets the list of Dependencies for the module.
///
[Parameter]
[ArgumentTypeConverter(typeof(ModuleSpecification[]))]
@@ -250,7 +250,7 @@ public object[] RequiredModules
private object[] _requiredModules;
///
- /// Sets the list of types files for the module.
+ /// Gets or sets the list of types files for the module.
///
[Parameter]
[AllowEmptyCollection]
@@ -266,7 +266,7 @@ public string[] TypesToProcess
private string[] _types;
///
- /// Sets the list of formats files for the module.
+ /// Gets or sets the list of formats files for the module.
///
[Parameter]
[AllowEmptyCollection]
@@ -282,7 +282,7 @@ public string[] FormatsToProcess
private string[] _formats;
///
- /// Sets the list of ps1 scripts to run in the session state of the import-module invocation.
+ /// Gets or sets the list of ps1 scripts to run in the session state of the import-module invocation.
///
[Parameter]
[AllowEmptyCollection]
@@ -298,7 +298,7 @@ public string[] ScriptsToProcess
private string[] _scripts;
///
- /// Set the list of assemblies to load for this module.
+ /// Gets or sets the list of assemblies to load for this module.
///
[Parameter]
[AllowEmptyCollection]
@@ -314,7 +314,7 @@ public string[] RequiredAssemblies
private string[] _requiredAssemblies;
///
- /// Specify any additional files used by this module.
+ /// Gets or sets the additional files used by this module.
///
[Parameter]
[AllowEmptyCollection]
@@ -330,7 +330,7 @@ public string[] FileList
private string[] _miscFiles;
///
- /// List of other modules included with this module.
+ /// Gets or sets the list of other modules included with this module.
/// Like the RequiredModules key, this list can be a simple list of module names or a complex list of module hashtables.
///
[Parameter]
@@ -348,7 +348,7 @@ public object[] ModuleList
private object[] _moduleList;
///
- /// Specify any functions to export from this manifest.
+ /// Gets or sets the functions to export from this manifest.
///
[Parameter]
[AllowEmptyCollection]
@@ -364,7 +364,7 @@ public string[] FunctionsToExport
private string[] _exportedFunctions;
///
- /// Specify any aliases to export from this manifest.
+ /// Gets or sets the aliases to export from this manifest.
///
[Parameter]
[AllowEmptyCollection]
@@ -380,7 +380,7 @@ public string[] AliasesToExport
private string[] _exportedAliases;
///
- /// Specify any variables to export from this manifest.
+ /// Gets or sets the variables to export from this manifest.
///
[Parameter]
[AllowEmptyCollection]
@@ -396,7 +396,7 @@ public string[] VariablesToExport
private string[] _exportedVariables = new string[] { "*" };
///
- /// Specify any cmdlets to export from this manifest.
+ /// Gets or sets the cmdlets to export from this manifest.
///
[Parameter]
[AllowEmptyCollection]
@@ -412,7 +412,7 @@ public string[] CmdletsToExport
private string[] _exportedCmdlets;
///
- /// Specify any dsc resources to export from this manifest.
+ /// Gets or sets the dsc resources to export from this manifest.
///
[Parameter]
[AllowEmptyCollection]
@@ -428,7 +428,7 @@ public string[] DscResourcesToExport
private string[] _dscResourcesToExport;
///
- /// Specify compatible PSEditions of this module.
+ /// Gets or sets the compatible PSEditions of this module.
///
[Parameter]
[AllowEmptyCollection]
@@ -445,7 +445,7 @@ public string[] CompatiblePSEditions
private string[] _compatiblePSEditions;
///
- /// Specify any module-specific private data here.
+ /// Gets or sets the module-specific private data here.
///
[Parameter(Mandatory = false)]
[AllowNull]
@@ -459,7 +459,7 @@ public object PrivateData
private object _privateData;
///
- /// Specify any Tags.
+ /// Gets or sets the Tags.
///
[Parameter(Mandatory = false)]
[ValidateNotNullOrEmpty]
@@ -468,28 +468,28 @@ public object PrivateData
public string[] Tags { get; set; }
///
- /// Specify the ProjectUri.
+ /// Gets or sets the ProjectUri.
///
[Parameter(Mandatory = false)]
[ValidateNotNullOrEmpty]
public Uri ProjectUri { get; set; }
///
- /// Specify the LicenseUri.
+ /// Gets or sets the LicenseUri.
///
[Parameter(Mandatory = false)]
[ValidateNotNullOrEmpty]
public Uri LicenseUri { get; set; }
///
- /// Specify the IconUri.
+ /// Gets or sets the IconUri.
///
[Parameter(Mandatory = false)]
[ValidateNotNullOrEmpty]
public Uri IconUri { get; set; }
///
- /// Specify the ReleaseNotes.
+ /// Gets or sets the ReleaseNotes.
///
[Parameter(Mandatory = false)]
[ValidateNotNullOrEmpty]
@@ -516,7 +516,7 @@ public object PrivateData
public string[] ExternalModuleDependencies { get; set; }
///
- /// Specify the HelpInfo URI.
+ /// Gets or sets the HelpInfo URI.
///
[Parameter]
[AllowNull]
@@ -531,7 +531,7 @@ public string HelpInfoUri
private string _helpInfoUri;
///
- /// This parameter causes the module manifest string to be to the output stream...
+ /// Gets or sets whether the module manifest string should go to the output stream.
///
[Parameter]
public SwitchParameter PassThru
@@ -544,7 +544,7 @@ public SwitchParameter PassThru
private bool _passThru;
///
- /// Specify the Default Command Prefix.
+ /// Gets or sets the Default Command Prefix.
///
[Parameter]
[AllowNull]
@@ -1088,7 +1088,7 @@ protected override void EndProcessing()
BuildModuleManifest(result, nameof(DotNetFrameworkVersion), StringUtil.Format(Modules.DotNetFrameworkVersion, Modules.PrerequisiteForDesktopEditionOnly), _DotNetFrameworkVersion != null && !string.IsNullOrEmpty(_DotNetFrameworkVersion.ToString()), () => QuoteName(_DotNetFrameworkVersion), streamWriter);
- BuildModuleManifest(result, nameof(Modules.CLRVersion), StringUtil.Format(Modules.CLRVersion, Modules.PrerequisiteForDesktopEditionOnly), _ClrVersion != null && !string.IsNullOrEmpty(_ClrVersion.ToString()), () => QuoteName(_ClrVersion), streamWriter);
+ BuildModuleManifest(result, nameof(CLRVersion), StringUtil.Format(Modules.CLRVersion, Modules.PrerequisiteForDesktopEditionOnly), _ClrVersion != null && !string.IsNullOrEmpty(_ClrVersion.ToString()), () => QuoteName(_ClrVersion), streamWriter);
BuildModuleManifest(result, nameof(ProcessorArchitecture), Modules.ProcessorArchitecture, _processorArchitecture.HasValue, () => QuoteName(_processorArchitecture.ToString()), streamWriter);