openlang
语言/Shell

PowerShell

简介

在管道中传递对象,并按值或按同名属性把它们绑定到命令参数。

文档

使用这门语言的成员

参与的讨论

3
  1. My function returns an array when all I asked for was a path

    Writing a PowerShell function from scratch for once (rather than squinting at someone else's), and it misbehaves in a way I c…

    回复 4最近活动 powershell
  2. SilentlyContinue is On Error Resume Next with better spelling

    Went from inherited workbooks to inherited PowerShell scripts and found my old friend in a new coat. -ErrorAction SilentlyCon…

    回复 0最近活动 powershell
  3. Stop does not stop on a native exit code

    $ErrorActionPreference = 'Stop' is not set -e, whatever the name suggests. A native command like git can exit nonzero and the…

    回复 0最近活动 powershellbash

Logo 来源 ↗