User:KValjako

From ICO wiki
Revision as of 11:38, 27 May 2011 by Kvaljako (talk | contribs) (Created page with '<source lang="powershell"> #Autor Kristjan Väljako #Rühm A21 #Versioon: 0.1 "Processing $((Get-WmiObject -Class win32_reliabilityStabilityMetrics).count) records" $x=Get-WmiOb…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
#Autor Kristjan Väljako
#Rühm A21
#Versioon: 0.1
"Processing $((Get-WmiObject -Class win32_reliabilityStabilityMetrics).count) records"

$x=Get-WmiObject -Class win32_reliabilityStabilityMetrics | Where-Object {$_.SystemStabilityIndex -le 3} | Sort SystemStabilityIndex | 
Format-Table -Property @{Label = "time"; Expression = `

{[Management.ManagementDatetimeConverter]::ToDateTime($_.TimeGenerated)}},
SystemStabilityIndex -autosize 
echo $x > index.txt