logo
  • 教程列表
  • SO官方文档
  • PowerShell 入门
    • 允许存储在计算机上的脚本以未签名方式运行
    • 别名类似功能
    • 管道 - 使用 PowerShell cmdlet 的输出
    • 调用 .Net 库方法
    • 安装或设置
    • 评论
    • 创建对象
  1. StackOverflow 文档
  2. PowerShell 教程
  3. PowerShell 入门
  4. 评论

评论

Created: November-22, 2018

通过使用 #(哈希)符号预先添加行来评论电源脚本

# This is a comment in powershell
Get-ChildItem

你还可以分别在注释的开头和结尾使用 <# 和 #> 进行多行注释。

<#
This is a 
multi-line
comment
#>
Get-ChildItem
  • 创建对象
  • 安装或设置

Copyright © 2018. All right reserved

tastones.com 备案号:鲁ICP备18045372号-1

  • 关于我们
  • 免责声明