If we change the value of $class, we can re-run the Get-WMIObject command without editing. This helps a little bit towards efficiency, but PowerShell 3.0 will take ...
Results that may be inaccessible to you are currently showing.
Hide inaccessible results