I have a code like this:
$powerSchemes = powercfg /l | ForEach-Object { if ($_ -match \'Power Scheme GUID:\\s*([-0-9a-f]+)\\s*\\(([^)]+)\\)\\s*(\\*)?\') {