尝试执行 Select-Object,但我似乎无法从键值列表属性中返回属性和值。我想从此参数属性返回 3 个属性,RunStart、Message 和“tableName”。
我对此感到太多了:
|Select-Object -Property Parameters,RunStart,Message
Parameters RunStart Message
---------- -------- -------
{[tableName, AHROR012], [schemaName, dbo]...} 11/14/2019 5:39:06 PM Operation on target failed
但是当我这样做时,我没有收到 RunStart 或 Message:
|Select-Object -ExpandProperty Parameters -Property tableName,RunStart,Message
Key Value
--- -----
tableName AHROR012
我该怎么做才能得到:
Parameters.tableName RunStart Message
---------- -------- -------
AHROR012 11/14/2019 5:39:06 PM Operation on target failed
谢谢!!!