小编Gle*_*ica的帖子

放置PowerShell脚本版本号的标准位置在哪里?

从PowerShell版本3开始,基于注释的帮助注释块定义非常明确:https : //technet.microsoft.com/zh-cn/library/hh847834.aspx 我想知道的是存在用于PowerShell脚本版本控制的标准像在C#中一样?我要发布模块时,我正在询问,而psd1文件具有:

# Version number of this module.
ModuleVersion = '1.0.0.0' 
Run Code Online (Sandbox Code Playgroud)

在我自己的脚本中,我使用以下标准:

<#  
.SYNOPSIS  
    <Synopsis goes here>.

.DESCRIPTION
    <Description goes here>.

.EXAMPLE
    Example.ps1
    Runs with default parameters

.NOTES  
    Author     : Glen Buktenica
    Version    : 1.0.0.0 20160725 Initial Build  
#> 
Run Code Online (Sandbox Code Playgroud)

c# powershell version

4
推荐指数
2
解决办法
1722
查看次数

标签 统计

c# ×1

powershell ×1

version ×1