User:KValjako: Difference between revisions
From ICO wiki
Jump to navigationJump to search
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…' |
(No difference)
|
Revision as of 12:38, 27 May 2011
#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