$PSScriptRoot and XML.SelectNodes support for powershell 2.0



我知道$PSScriptRoot不支持powershell 2.0,有什么好的替代方案?

powershell 2.0也支持SelectNodes吗?

使用2.0进行XML操作的好cmdlet是什么?

$PSScriptRoot不起作用,替代

$PSScriptRoot=拆分路径-父级-路径$MyInvocation.MyCommand.Definition

SelectNodes支持

最新更新