logo
  • 教程列表
  • SO官方文档
  • 特别经营者
    • 数组表达运算符
    • 呼叫操作
    • 点采购运算符
  1. StackOverflow 文档
  2. PowerShell 教程
  3. 特别经营者
  4. 数组表达运算符

数组表达运算符

Created: November-22, 2018

将表达式作为数组返回。

@(Get-ChildItem $env:windir\System32\ntdll.dll)

将返回一个包含一个项目的数组

@(Get-ChildItem $env:windir\System32)

将返回包含文件夹中所有项的数组(这不是内部表达式中的行为更改。

  • 呼叫操作
  • 特别经营者

Copyright © 2018. All right reserved

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

  • 关于我们
  • 免责声明