且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

PowerShell:上次执行结果是否有自动变量?

更新时间:2021-11-03 21:51:48

不,没有这样的自动变量.

No there is not automatic variable like that.

你必须这样做:

$output = Get-Something
$output
$anObj = $output

获取行为