how i can determine which is the default Power Scheme and what is GUID of the default Power Scheme. The Line of default Power Scheme is marked with *I start with this lines;$path = "C:\temp\power.txt"
If FileExists($path) Then
filedelete($path)
Run(@ComSpec & " /c " & 'powercfg.exe -l > C:\temp\power.txt', "", @SW_HIDE)
else
Run(@ComSpec & " /c " & 'powercfg.exe -l > C:\temp\power.txt', "", @SW_HIDE)
endif
power.txt