Just a simple question thought So I have a code that look like this
$powerSchemes = powercfg /l | ForEach-Object { if ($_ -match \'^Power Scheme GUID:\\s*