The Update-MarkdownHelpModule cmdlet updates existing help markdown files and creates markdown
files for new cmdlets in a module. This cmdlet combines functionality of the
Update-MarkdownHelp and New-MarkdownHelp cmdlets to
perform a bulk update.
This command updates all the files in the specified folder based on the cmdlets as loaded into your current session.
The command creates markdown help topics for any cmdlets that are not already included in the .\docs folder.
参数
-AlphabeticParamsOrder
Order parameters alphabetically by name in PARAMETERS section. There are 5 exceptions: -Confirm,
-WhatIf, -IncludeTotalCount, -Skip, and -First parameters will be the last. These parameters
are common and hence have well-defined behavior.
参数属性
类型:
SwitchParameter
默认值:
None
支持通配符:
False
不显示:
False
参数集
(All)
Position:
Named
必需:
False
来自管道的值:
False
来自管道的值(按属性名称):
False
来自剩余参数的值:
False
-Encoding
Specifies the character encoding for your external help file. Specify a System.Text.Encoding
object. For more information, see
about_Character_Encoding.
参数属性
类型:
Encoding
默认值:
UTF8 without BOM
支持通配符:
False
不显示:
False
参数集
(All)
Position:
1
必需:
False
来自管道的值:
False
来自管道的值(按属性名称):
False
来自剩余参数的值:
False
-ExcludeDontShow
Exclude the parameters marked with DontShow in the parameter attribute from the help content.
参数属性
类型:
SwitchParameter
默认值:
None
支持通配符:
False
不显示:
False
参数集
(All)
Position:
Named
必需:
False
来自管道的值:
False
来自管道的值(按属性名称):
False
来自剩余参数的值:
False
-Force
Remove help files that no longer exists within sessions (for example if function was deleted).
参数属性
类型:
SwitchParameter
默认值:
None
支持通配符:
False
不显示:
False
参数集
(All)
Position:
Named
必需:
False
来自管道的值:
False
来自管道的值(按属性名称):
False
来自剩余参数的值:
False
-LogAppend
Indicates that this cmdlet appends information to the log instead overwriting it.
参数属性
类型:
SwitchParameter
默认值:
None
支持通配符:
False
不显示:
False
参数集
(All)
Position:
Named
必需:
False
来自管道的值:
False
来自管道的值(按属性名称):
False
来自剩余参数的值:
False
-LogPath
Specifies a file path for log information. The cmdlet writes the VERBOSE stream to the log. If you
specify the Verbose parameter, this cmdlet also writes that information to the console.
参数属性
类型:
String
默认值:
None
支持通配符:
False
不显示:
False
参数集
(All)
Position:
2
必需:
False
来自管道的值:
False
来自管道的值(按属性名称):
False
来自剩余参数的值:
False
-ModulePagePath
When -RefreshModulePage is used by default it puts .md file in same location as all other docs. With
this parameter you can specify new name/location providing better placement options.
参数属性
类型:
String
默认值:
None
支持通配符:
False
不显示:
False
参数集
(All)
Position:
Named
必需:
False
来自管道的值:
False
来自管道的值(按属性名称):
False
来自剩余参数的值:
False
-Path
Specifies an array of paths of markdown folders to update. The folder must contain a module page
from which this cmdlet can get the module name.
参数属性
类型:
String[]
默认值:
None
支持通配符:
True
不显示:
False
参数集
(All)
Position:
0
必需:
True
来自管道的值:
True
来自管道的值(按属性名称):
False
来自剩余参数的值:
False
-RefreshModulePage
Update module page when updating the help module.
参数属性
类型:
SwitchParameter
默认值:
None
支持通配符:
False
不显示:
False
参数集
(All)
Position:
Named
必需:
False
来自管道的值:
False
来自管道的值(按属性名称):
False
来自剩余参数的值:
False
-Session
Provides support for remote commands. Pass the session that you used to create the commands with
Import-PSSession. This is required to get accurate parameters metadata from the remote session.
参数属性
类型:
PSSession
默认值:
None
支持通配符:
False
不显示:
False
参数集
(All)
Position:
Named
必需:
False
来自管道的值:
False
来自管道的值(按属性名称):
False
来自剩余参数的值:
False
-UpdateInputOutput
Refreshes the Input and Output sections to reflect the current state of the cmdlet. WARNING: this
parameter will remove any manual additions to these sections.
参数属性
类型:
SwitchParameter
默认值:
None
支持通配符:
False
不显示:
False
参数集
(All)
Position:
Named
必需:
False
来自管道的值:
False
来自管道的值(按属性名称):
False
来自剩余参数的值:
False
-UseFullTypeName
Indicates that the target document will use a full type name instead of a short name for parameters.
参数属性
类型:
SwitchParameter
默认值:
None
支持通配符:
False
不显示:
False
参数集
(All)
Position:
Named
必需:
False
来自管道的值:
False
来自管道的值(按属性名称):
False
来自剩余参数的值:
False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
-InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable,
-ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see
about_CommonParameters.
This cmdlet returns a FileInfo[] object for updated and new files.
备注
The module for which you want to update the help should first be imported from the location
containing the previous version of the help. If this condition is not met, the parameter order will
be alphabetical in the updated help, even if the parameter AlphabeticParamsOrder has not been
used.