0

这是功能代码:

$Result1 = Get-WmiObject -Class Win32_Processor |

我想像这样“添加文本作为标签”:

$Result1 = "ADD TEXT AS LABEL" & Get-WmiObject -Class Win32_Processor |

非常感谢任何和所有建议。

4

1 回答 1

0

使用子表达式:

$Result1 = $("ADD TEXT AS LABEL"; Get-WmiObject -Class Win32_Processor) | ...
于 2016-08-18T11:57:37.110 回答