Quantcast
Channel: iT邦幫忙
Viewing all articles
Browse latest Browse all 15645

關於powercli 的問題 同時輸出兩個變數到excel

$
0
0
$time = Get-Stat -entity test -Stat cpu.usage.average-Start 4/14/2013 -finish 4/15/2013 | Sort-Object Timestamp | Select-Object Timestamp
$Value = Get-Stat -entity test -Stat cpu.usage.average-Start 4/14/2013 -finish 4/15/2013 | Select-Object Value

我想同時把$time 跟 $Value 利用Export-Csv 輸出到excel內
但一直找不到方向
煩請各位前輩 給予小弟一點指導 小弟感激不盡

Viewing all articles
Browse latest Browse all 15645

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>