Quantcast
Channel: Windows PowerShell Forum
Viewing all articles
Browse latest Browse all 2314

expandproperty Wert in File schreiben

$
0
0

moin,

ich möchte die CPU und den Speicher in ein File schreiben

wie komme ich zb. nur zu dem Wert 23485 "cookedValue" alleine?

Get-Counter "\NUMA Node Memory(0)\Available MBytes" | select -ExpandProperty CounterSamples

PS C:\Users\sysadm> Get-Counter "\NUMA Node Memory(0)\Available MBytes" | select -ExpandProperty CounterSamples

Path                                          InstanceName CookedValue
----                                          ------------ -----------
\\nt\numa node memory(0)\available mbytes 0                  23485


Chris


Viewing all articles
Browse latest Browse all 2314


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