更新时间:2023-11-25 23:39:46
为什么你不能这样做:
$xmldata = [xml](Get-Content $webConfig) $FullSearchStr = $xmldata.configuration.'system.serviceModel'
如何使用powershell检查节点是否存在而不会出现异常?