我想使用powershell從工作流歷史列表的列表項中的xml字段提取ows_Occurred字段值。該XML領域的項目值爲從工作流歷史列表項字段中提取數據
XML:<z:row xmlns:z='#RowsetSchema' ows_Content TypeId='xxxx' ows_Event='5' ows_WorkflowInstance ='{xxxxx}' ows_WorkflowAssociation='{xxx}' ows_WorkflowTemplate='{yyyy}' ows_List='{xxxxx}' ows_Item='888' ows_User='8888;#AAA AAAA' ows_Occurred='2017-03-03 07:00:00' ows_Group='0'
感謝
通常它應該使用$ item.Xml.row.ows_Occured從xml中獲得字段值,但在這種情況下,我在xml中看到該值,但無法檢索它。 – Nate