数组表达运算符

将表达式作为数组返回。

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

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

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

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