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

Use information from WMI to write values to the registry

$
0
0

Hi,

I've been using some of the code found on this page http://technet.microsoft.com/en-us/magazine/dd535685.aspx to gather Reliability Index Scores.

I'd like to know if/how to write the values this part of my code gathers to the registry please:

@("localhost") |
    foreach-object -process {
      get-wmiobject Win32_ReliabilityStabilityMetrics -computername $_ -property @("timegenerated", "SystemStabilityIndex") |
      select-object -first 6 timegenerated,SystemStabilityIndex |
      format-table
  }

As you can probably tell I'm new to PS...have mostly used VB in the past but decided its time to start moving on ;)

Thanks,

C


Carl Barrett | Twitter: @Mosquat


Viewing all articles
Browse latest Browse all 2562

Trending Articles



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